[Twisted-Python] Running unit tests without trial?

Julian Berman julian at grayvines.com
Wed Sep 25 16:11:35 MDT 2013


On Wed, 25 Sep 2013 18:45:44 -0000 exarkun at twistedmatrix.com wrote:
> On 06:15 pm, rowen at uw.edu wrote:
> >Is it possible to run twisted.trial unit tests using python instead of
> >trial, i.e.: "python mytest.py" instead of  "trial mytest.py"?
>
> Sure.  Here's the worst case answer (contents of mytest.py):
>
>     import os
>     os.system("trial myrealtests.py")

There is also http://twistedmatrix.com/trac/ticket/4797

Cheers,
Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20130925/febd6175/attachment.html>


More information about the Twisted-Python mailing list