[Twisted-Python] Which mocker tool for trial ?

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


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 ?

Nicolas AGIUS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120220/1487f96e/attachment.htm 

More information about the Twisted-Python mailing list