Skip to content

Commit

Permalink
py3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Nov 8, 2016
1 parent d40c1d0 commit e1fa817
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/setup_malcolm_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def callback_result(f, *args, **kwargs):
return f(*args, **kwargs)
cothread.CallbackResult.side_effect = callback_result
sys.modules["cothread"] = cothread
input_hook = MagicMock()
sys.modules["cothread.input_hook"] = input_hook
del input_hook.MethodMeta
catools = MagicMock()
# Tell Mock not to have a MethodMeta, otherwise we will be decorated
del catools.MethodMeta
Expand Down

0 comments on commit e1fa817

Please sign in to comment.