[Twisted-Python] Which mocker tool for trial ?

Nicolas AGIUS nicolas.agius at lps-it.fr
Mon Feb 20 10:04:54 MST 2012


Hi,

I'm writing unitests with Trial for my app.

I use Python Mocker (http://labix.org/mocker) for making stubs and mock. It work almost fine, but I have trouble mocking static methods.  It seems that Mocker does'nt work with static methods called from a callback.

Which tool are you using for mocking ?

Thanks,
Nicolas AGIUS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20120220/1487f96e/attachment-0001.html>


More information about the Twisted-Python mailing list