We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let's say we have an exciting actor that does nothing:
class NopActor(pykka.ThreadingActor): def __init__(self): super(NopActor, self).__init__() def do_nothing(self): return
If we try to patch it using Voidspace mock to verify it gets called somehow, somewhere.
@patch.object(NopActor, 'do_nothing') def should_be_able_to_spy_on_actors(mock_method): nop_actor = NopActor.start().proxy() # blocks indefinitely nop_actor.do_nothing().get() mock_method.assert_called_once_with()
The test hangs indefinitely. This could be related to or the same issue as #26.
I have no identified a workaround for this case.
The text was updated successfully, but these errors were encountered:
proxy: Fix infinite recursion when mocking
dce57bd
Fixes #26, #27
Fixed by commit dce57bd.
Sorry, something went wrong.
jodal
No branches or pull requests
Let's say we have an exciting actor that does nothing:
If we try to patch it using Voidspace mock to verify it gets called somehow, somewhere.
The test hangs indefinitely. This could be related to or the same issue as #26.
I have no identified a workaround for this case.
The text was updated successfully, but these errors were encountered: