On Wed, Feb 8, 2012 at 5:30 PM, Glyph <gl...@twistedmatrix.com> wrote: ... > (Plus, returning Deferreds should ideally be an edge case, even in the > context of testing Twisted stuff - as much as possible, tests should run > synchronously and simulate the events that cause asynchrony in the real > world, so that they can test different orderings and edge cases and not just > depend on random load variance on the build machines to get coverage of > those cases.) >
Agreed. That's one of the reasons I like explicitly declaring that a test returns a Deferred using @run_test_with(ADRT). jml _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python