twisted.test.test_defer.DeferredTestCase.testMaybeDeferred should be faster and four different tests
|Reported by:||Jean-Paul Calderone||Owned by:|
branch-diff, diff-cov, branch-cov, buildbot
reactor.callLater(0.2 twice, making it take at least 0.4 seconds to run. This could easily be shortened so that it succeeds synchronously (it's trying to test the uncalled
Deferred case for success and error, but it could do this by calling back the
maybeDeferred has gotten a hold of it).
It's also testing four different conditions, so it should be broken into separate test methods.
Change History (7)
comment:3 Changed 9 years ago by
|Priority:||normal → highest|
comment:5 Changed 9 years ago by
|Owner:||changed from Jean-Paul Calderone to therve|
|Status:||assigned → new|