test_master_tops.py 575 B

12345678910111213141516171819202122
  1. # -*- coding: utf-8 -*-
  2. """
  3. tests.integration.shell.master_tops
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. """
  6. from __future__ import absolute_import, print_function, unicode_literals
  7. import pytest
  8. from tests.support.case import ShellCase
  9. from tests.support.unit import skipIf
  10. @pytest.mark.windows_whitelisted
  11. class MasterTopsTest(ShellCase):
  12. _call_binary_ = "salt"
  13. @skipIf(True, "SLOWTEST skip")
  14. def test_custom_tops_gets_utilized(self):
  15. resp = self.run_call("state.show_top")
  16. self.assertTrue(any("master_tops_test" in _x for _x in resp))