forked from goodboy/tractor
1
0
Fork 0

Pass a copy of the expected exposed modules

debug_tests
Tyler Goodlet 2020-07-26 15:33:24 -04:00
parent 1d1c881fd7
commit e7ee0fec34
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ def test_rpc_errors(arb_addr, to_call, testdir):
# module should raise a ModuleNotFoundError at import
testdir.makefile('.py', tmp_mod=funcname)
# no need to exposed module to the subactor
# no need to expose module to the subactor
subactor_exposed_mods = exposed_mods
exposed_mods = []
func_defined = False
@ -95,7 +95,7 @@ def test_rpc_errors(arb_addr, to_call, testdir):
tractor.run(
main,
arbiter_addr=arb_addr,
rpc_module_paths=exposed_mods,
rpc_module_paths=exposed_mods.copy(),
)
# handle both parameterized cases