Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.monkeyPatch(module, 'myFunc', lambda n: someObject)
- mox.StubOutWithMock(module, 'myFunc')
- module.myFunc(n).AndReturn(someObject)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement