On Wed, Sep 1, 2010 at 5:05 PM, Anton Gyllenberg <[email protected]> wrote: > On Wed, Sep 1, 2010 at 4:17 PM, Itamar Turner-Trauring > <[email protected]> wrote: >> On Wed, 2010-09-01 at 14:52 +0300, Anton Gyllenberg wrote: >> >>> Any comments and suggestions welcome! >> >> Unit tests are always a good idea :) > > That is so true. And if not writing new ones, then at least running > existing ones. That I hadn't done and it seems I actually broke > something.
The send_multiResponse() method within the test framework worked differently and returned None instead of a deferred like the real version. Making it return defer.Deferred() instead made the tests pass. I'm new to this trial stuff so need to do some reading before I dare make test cases for new code. Thanks! Anton _______________________________________________ Twisted-Python mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
