[Twisted-Python] Trial & the mock library

Jonathan Lange jml at mumak.net
Thu Jul 25 09:40:39 MDT 2013


On Thu, Jul 25, 2013 at 4:14 PM, Laurens Van Houtven <_ at lvh.io> wrote:

> In addition to what jml said, I wonder if it makes sense for TestCase to
> raise when the return value of a test method is something other than None
> or a Deferred...
>
>
Why stop there? Why not have a generic system to allow specifying valid
return types for any function?

jml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20130725/a8c1d200/attachment.html>


More information about the Twisted-Python mailing list