test_kickstart.py 338 B

1234567891011
  1. # -*- coding: utf-8 -*-
  2. from __future__ import absolute_import, unicode_literals
  3. import salt.utils.kickstart as kickstart
  4. from tests.support.unit import TestCase
  5. class KickstartTestCase(TestCase):
  6. def test_clean_args(self):
  7. ret = kickstart.clean_args({"foo": "bar", "baz": False})
  8. assert ret == {"foo": "bar"}, ret