twisted.test.test_internet.TimeTestCase.testCallLaterDelayAndReset shouldn't use reactor.iterate()
[email protected] Tue, 15 Sep 2009 00:25:31 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from danderson <None>: It uses reactor.iterate() through the Clock test helper, defined in `twisted.test.time_helpers`. Removing this use of reactor.iterate should take one of two roads: 1. Make Clock not use reactor.iterate, and rewrite tests using Clock to be more event-driven. 1. Make this one test not use reactor.iterate, and let tests outside of test_internet use reactor.iterate happily. The road to take depends on what the desired end state is regarding use of reactor.iterate in tests: eliminate from test_internet, or purge completely? Reassign the task to me with the decision, and I'll implement. ---------- Type : task Component: core Keywords : tests Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4027