MCPcopy
hub / github.com/saltstack/salt / test_reload

Method test_reload

tests/unit/test_loader.py:1253–1264  ·  view source on GitHub ↗

Make sure that we can reload all libraries of arbitrary depth

(self)

Source from the content-addressed store, hash-verified

1251
1252 @pytest.mark.slow_test
1253 def test_reload(self):
1254 """
1255 Make sure that we can reload all libraries of arbitrary depth
1256 """
1257 self._verify_libs()
1258
1259 # update them all
1260 for lib in self.libs:
1261 for x in range(5):
1262 self.update_lib(lib)
1263 self.loader.clear()
1264 self._verify_libs()
1265
1266
1267class LoaderMultipleGlobalTest(ModuleCase):

Callers

nothing calls this directly

Calls 3

_verify_libsMethod · 0.95
update_libMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected