[Twisted-Python] Re: [Twisted-commits] Small hack that I need for the beginnings of my woven functional testing

Andrew Bennetts andrew-twisted at puzzling.org
Sat Jun 14 22:14:12 EDT 2003

On Sat, Jun 14, 2003 at 08:27:07PM -0400, Donovan Preston wrote:
> On Saturday, June 14, 2003, at 03:47 AM, Andrew Bennetts wrote:
> >
> >This change broke 2 tests in Twisted that already used that attribute.
> >Should we change the tests, or this hack?  What is it for, anyway?
> Thanks for catching this. We should change the hack. The hack is so I 

I didn't catch this -- BuildBot did! :)

> can create and run a second TestSuite inside a UnitTest, so that the 
> entire second TestSuite can run between the first UnitTest's setUp and 
> tearDown. It's in Divmod/divmod/web/functionaltester.py
> Feedback on how to do this better would be greatly appreciated...

[I'll let someone more qualified answer this]

> >Oh, and please run tests before you checkin, this isn't the only thing
> >that has been broken recently.
> I did run the tests before I checked in and it wasn't obvious that my 
> changes had broken anything. There were broken tests, but I didn't 
> realize they were my fault. Sorry.

If checking against a clean checkout is too slow, I suggest checking against
BuildBot... have I mentioned today how much I love BuildBot?  :)


More information about the Twisted-Python mailing list