Skip to content

Commit

Permalink
Pass a copy of the expected exposed modules
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jul 30, 2020
1 parent d657b4d commit d752537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -95,7 +95,7 @@ def run():
tractor.run(
main,
arbiter_addr=arb_addr,
rpc_module_paths=exposed_mods,
rpc_module_paths=exposed_mods.copy(),
)

# handle both parameterized cases
Expand Down

0 comments on commit d752537

Please sign in to comment.