MCPcopy Index your code
hub / github.com/saltstack/salt / test__load__and_depends

Method test__load__and_depends

tests/unit/test_loader.py:685–692  ·  view source on GitHub ↗

If a module specifies __load__ we should only load/expose those modules

(self)

Source from the content-addressed store, hash-verified

683
684 @pytest.mark.slow_test
685 def test__load__and_depends(self):
686 """
687 If a module specifies __load__ we should only load/expose those modules
688 """
689 self.update_module()
690 # ensure it doesn't exist
691 self.assertNotIn(self.module_key + "3", self.loader)
692 self.assertNotIn(self.module_key + "4", self.loader)
693
694 @pytest.mark.slow_test
695 def test_reload(self):

Callers

nothing calls this directly

Calls 1

update_moduleMethod · 0.95

Tested by

no test coverage detected