[Twisted-Python] Running Twisted tests with testtools

Jonathan Lange jml at mumak.net
Fri Feb 10 04:49:28 EST 2012


On Fri, Feb 10, 2012 at 8:29 AM, Free Ekanayaka <free at 64studio.com> wrote:
...
> Beside code organization/design is this the main substantial difference
> between twisted.trial.unittest.TestCase and testtools.testcase.TestCase
> plus AsynchronousDeferredRunTest?
>
> Or put it in a stronger form, if there was a compatibility class inheriting
> from testtools.testcase.TestCase/AsynchronousDeferredRunTestForBrokenTwisted
> and providing the same API as twisted.trial.unittest.TestCase (like
> assertFailure, getSkip, etc.) would it work as a seamless drop-in
> replacement, at least in principle?
>

I don't see why not.

jml



More information about the Twisted-Python mailing list