MCPcopy Create free account
hub / github.com/StackStorm/st2 / setUp

Method setUp

st2common/tests/unit/test_plugin_loader.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 # setUp and tearDown are used to reset the python path for each test to
44 # prevent a test from affecting another.
45 def setUp(self):
46 LoaderTest.sys_path = copy.copy(sys.path)
47
48 def tearDown(self):
49 sys.path = LoaderTest.sys_path

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected