[Twisted-Python] Twisted 1.0.4 - admin/runtests failures?

Francois Pinard pinard at iro.umontreal.ca
Wed Apr 23 15:30:00 MDT 2003


Hello, Twisted people.

Out of the box (yet I already did `python setup.py install --prefix=/usr,
as `root'), `admin/runtests' yields a few errors, as shown below.
Should these be expected?  Reported?  This is over a SuSE 8.1 Linux.
`pycrypto' 1.9a6 is installed.



17:21:31 0 pinard at alcyon:/usr/tmp/Twisted-1.0.4 $ admin/runtests
...................................................................................................F........S.................................T..............................................................................................................................T......................................................................................................................................SS...........F.......................................................................................................E.................................................................
===============================================================================
SKIPPED: testModules (twisted.test.test_doc.DocCoverage)
-------------------------------------------------------------------------------
Activate me when you feel like writing docstrings, and fixing GTK crashing bugs.
===============================================================================
SKIPPED: testReadLimit (twisted.test.test_policies.ThrottlingTestCase)
-------------------------------------------------------------------------------
Inaccurate tests are worse than no tests.
===============================================================================
SKIPPED: testWriteLimit (twisted.test.test_policies.ThrottlingTestCase)
-------------------------------------------------------------------------------
Inaccurate tests are worse than no tests.
===============================================================================
EXPECTED FAILURE: testStor (twisted.test.test_ftp.FTPClientAndServerTests)
-------------------------------------------------------------------------------
Traceback (most recent call last):
   File "/var/tmp/Twisted-1.0.4/twisted/test/test_ftp.py", line 276, in testStor
    self.assertEquals(open('HelloThere').read(), expectedContent)
 FailTest: '' != 'Hello\nHello\nHello\nHello\n'
===============================================================================
EXPECTED FAILURE: testSneakyHiddenDoom (twisted.test.test_loopback.LoopbackTCPTestCase)
-------------------------------------------------------------------------------
Traceback (most recent call last):
   File "/var/tmp/Twisted-1.0.4/twisted/test/test_loopback.py", line 77, in testSneakyHiddenDoom
    LoopbackTestCase.testSneakyHiddenDoom(self)
   File "/var/tmp/Twisted-1.0.4/twisted/test/test_loopback.py", line 71, in testSneakyHiddenDoom
    self.assertEquals(c.lines, ['DOOM LINE', 'Hello 1', 'Hello 2', 'Hello 3'])
 FailTest: ['DOOM LINE', 'Hello 1', 'Hello 2'] != ['DOOM LINE', 'Hello 1', 'Hello 2', 'Hello 3']
===============================================================================
FAILURE: testModificationTime (twisted.test.test_dirdbm.ShelfTestCase)
-------------------------------------------------------------------------------
Traceback (most recent call last):
   File "/var/tmp/Twisted-1.0.4/twisted/test/test_dirdbm.py", line 114, in testModificationTime
    self.assert_(0 <= time.time() - self.dbm.getModificationTime("k") < 1)
 FailTest
===============================================================================
FAILURE: testStderr (twisted.test.test_process.PosixProcessTestCase)
-------------------------------------------------------------------------------
Traceback (most recent call last):
   File "/var/tmp/Twisted-1.0.4/twisted/test/test_process.py", line 386, in testStderr
    self.assertEquals(lsOut, p.errF.getvalue())
 FailTest: '/bin/ls: ZZXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX: Aucun fichier ou r\xe9pertoire de ce type\n' != '/bin/ls: ZZXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX: No such file or directory\n'
===============================================================================
ERROR: testMulticast (twisted.test.test_udp.MulticastTestCase)
-------------------------------------------------------------------------------
Traceback (most recent call last):
   File "/var/tmp/Twisted-1.0.4/twisted/trial/unittest.py", line 188, in runOneTest
    method(testCase)
   File "/var/tmp/Twisted-1.0.4/twisted/test/test_udp.py", line 186, in testMulticast
    self.assertEquals(self.server.packets[0][0], "hello world")
 IndexError: list index out of range
-------------------------------------------------------------------------------
Ran 587 tests in 100.385s

FAILED (failures=2, errors=1, skips=3, expectedFailures=2)

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard




More information about the Twisted-Python mailing list