You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, there's a conflict between mock trying to please everything and provide any attribute asked for, and Pykka's proxy introspecting to figure out what attributes and methods are available. I haven't looked deeply into how to make them work better together, but I found a workaround: if you give your mock the real implementation as a spec then the mock object will only say it has attributes that the real implementation has as well, and not everything asked for.
Execution completely freezes up when trying to get a proxy of an actor that's got a bit of constructor injection going on.
I'm specifically using Voidspace mock's
MagicMock
object:... where the code to
Foobar
looks something like this:I suspect because mock objects don't behave as pykka expects members to behave when doing introspection.
The text was updated successfully, but these errors were encountered: