[Twisted-Python] Re: [Twisted-commits] r11107 - Delete fundamentally broken test.
andrew-twisted at puzzling.org
Fri Jul 23 21:30:05 EDT 2004
On Fri, Jul 23, 2004 at 10:41:51AM -0400, Itamar Shtull-Trauring wrote:
> On Fri, 2004-07-23 at 10:07, Andrew Bennetts wrote:
> > In short: the test's intention is undocumented, and appears to be testing
> > something fundamentally unuseful,
> We need to test that Process transports have pause/resumeProducing,
> since this is part of the interface and e.g. CGI depends on it. I don't
> remember if I specifically wrote this test, but we do need *something*.
If we want to test the interface is implemented, then use
IProducer.implementedBy and zope.interface.verify.verifyClass.
If we want to test the behaviour (and I agree it'd be nice), someone needs
to figure out a better test :)
More information about the Twisted-Python