[Twisted-Python] SMTP

Anders Hammarquist iko at cd.chalmers.se
Sat Nov 2 10:35:44 MST 2002


In a message of Fri, 01 Nov 2002 23:05:58 EST, Jp Calderone writes:
>   Applied with no problem, but:
> 
> ======================================================================
> ERROR: list() -> new list
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./pyunit/unittest.py", line 210, in __call__
>     testMethod()
> TypeError: 'list' object is not callable
> ======================================================================

Yes, I only fixed the test case for smtp.SMTP (since that's the only
class I rewrote). I couldn't get the other tests to run either. I'll
look at the other tests as I look at the other parts of the smtp
module (which I plan to do). Running the test for smtp.SMTP I get:

$ python2.2 pyunit/unittest.py twisted.test.test_smtp.AnotherSMTPTestCase.testBuffer
---- Running Test: twisted.test.test_smtp.AnotherSMTPTestCase.testBuffer ----- 
.
----------------------------------------------------------------------
Ran 1 tests in 0.034s

OK

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist                                  | iko at cd.chalmers.se
Physics student, Chalmers University of Technology, | Hem: +46 31 88 48 50
G|teborg, Sweden.           RADIO: SM6XMM and N2JGL | Mob: +46 707 27 86 87




More information about the Twisted-Python mailing list