forked from goodboy/tractor
1
0
Fork 0

Pass a copy of the expected exposed modules

stin_char_relay
Tyler Goodlet 2020-07-26 15:33:24 -04:00
parent bcbef1a095
commit 7b5af3b2d4
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