[Twisted-Python] Refactoring of trial - call for feature requests and suggestions

Jp Calderone exarkun at divmod.com
Thu Jun 17 07:26:30 EDT 2004


Andrew Bennetts wrote:
> On Thu, Jun 17, 2004 at 02:38:28AM -0400, Jp Calderone wrote:
> 
>>  * Argument passing between unittest methods.  For example, if a test 
>>method were defined as testFoo(self, x, y), the two-tuple returned from 
>>setUp() would be passed in as values for the arguments.  Similarly for 
>>tearDown().
> 
> 
> I'm not sure why this is better than having setUp set instance attributes?
> 

   Shorter user code.

   Jp




More information about the Twisted-Python mailing list