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@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
On Sat, 02 Nov 2002 18:35:44 +0100
Anders Hammarquist
$ python2.2 pyunit/unittest.py twisted.test.test_smtp.AnotherSMTPTestCase.testBuffer---- Running Test: twisted.test.test_smtp.AnotherSMTPTestCase.testBuffer Please note that Twisted needs to support 2.1 as well, it's recommended you run tests under both 2.1 and 2.2. Though that may be totally unrelated to the issue here.
-- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting ***> http://VoteNoWar.org -- vote/donate/volunteer <***
participants (2)
-
Anders Hammarquist
-
Itamar Shtull-Trauring