test_confirm_top.py 359 B

12345678910111213
  1. import salt.config
  2. import salt.loader
  3. from tests.support.unit import TestCase
  4. class ConfirmTop(TestCase):
  5. def setUp(self):
  6. opts = salt.config.DEFAULT_MINION_OPTS.copy()
  7. self.matchers = salt.loader.matchers(opts)
  8. def test_sanity(self):
  9. match = self.matchers["confirm_top.confirm_top"]
  10. self.assertTrue(match("*", []))