[Twisted-Python] twisted 1.3.0 unit test errors

Warren Pollans wpollans at gmail.com
Sun Aug 28 11:22:07 EDT 2005


Hello,

I've started installing selenium on my ibook (OSX.3.9, python 2.3)

I just installed Twisted 1.3.0.  When I run admin/runtests from the  
install directory, I get the following results - Are these failures and  
errors acceptable?  I've installed pyOpenSSL and pyCrypto, but not  
pySerial

FAILED (failures=4, errors=2, skips=33, expectedFailures=4)

Are these acceptable?  Or what do I need to do to try to fix this  
before continuing the selenium install?

Thanks,

Warren

======================================================================== 
=======
FAILURE: testWhich (twisted.test.test_process.UtilTestCase)
------------------------------------------------------------------------ 
-------
Traceback (most recent call last):
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 252, in _runPhase
     stage(*args, **kwargs)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 274, in _main
     self.runner(self.method)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/runner.py",  
line 104, in runTest
     method()
   File  
"/Users/warren/Desktop/Twisted-1.3.0/twisted/test/test_process.py",  
line 661, in testWhich
     self.assertEquals(paths, [
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 127, in failUnlessEqual
     raise FailTest, (msg or '%r != %r' % (first, second))
FailTest: ['foo/baz/executable', 'baz/foo/executable',  
'baz/bar/executable'] != ['foo/baz/executable', 'baz/foo/executable']
======================================================================== 
=======
FAILURE: testWhichPathExt (twisted.test.test_process.UtilTestCase)
------------------------------------------------------------------------ 
-------
Traceback (most recent call last):
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 252, in _runPhase
     stage(*args, **kwargs)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 274, in _main
     self.runner(self.method)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/runner.py",  
line 104, in runTest
     method()
   File  
"/Users/warren/Desktop/Twisted-1.3.0/twisted/test/test_process.py",  
line 676, in testWhichPathExt
     self.assertEquals(paths, [
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 127, in failUnlessEqual
     raise FailTest, (msg or '%r != %r' % (first, second))
FailTest: ['foo/baz/executable', 'baz/foo/executable',  
'baz/foo/executable.bin', 'baz/bar/executable'] !=  
['foo/baz/executable', 'baz/foo/executable', 'baz/foo/executable.bin']
======================================================================== 
=======
FAILURE: testDownloadPageError3  
(twisted.test.test_webclient.WebClientSSLTestCase)
------------------------------------------------------------------------ 
-------
Traceback (most recent call last):
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 252, in _runPhase
     stage(*args, **kwargs)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 274, in _main
     self.runner(self.method)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/runner.py",  
line 104, in runTest
     method()
   File  
"/Users/warren/Desktop/Twisted-1.3.0/twisted/test/test_webclient.py",  
line 175, in testDownloadPageError3
     f = unittest.deferredError(d)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/util.py",  
line 106, in deferredError
     raise unittest.FailTest, "Deferred did not fail: %r" % (result,)
FailTest: Deferred did not fail: None
======================================================================== 
=======
FAILURE: testDownloadPageError3  
(twisted.test.test_webclient.WebClientTestCase)
------------------------------------------------------------------------ 
-------
Traceback (most recent call last):
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 252, in _runPhase
     stage(*args, **kwargs)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 274, in _main
     self.runner(self.method)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/runner.py",  
line 104, in runTest
     method()
   File  
"/Users/warren/Desktop/Twisted-1.3.0/twisted/test/test_webclient.py",  
line 175, in testDownloadPageError3
     f = unittest.deferredError(d)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/util.py",  
line 106, in deferredError
     raise unittest.FailTest, "Deferred did not fail: %r" % (result,)
FailTest: Deferred did not fail: None
======================================================================== 
=======
ERROR: testConnectionRefused  
(twisted.test.test_udp.OldConnectedUDPTestCase)
------------------------------------------------------------------------ 
-------
Traceback (most recent call last):
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 252, in _runPhase
     stage(*args, **kwargs)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 274, in _main
     self.runner(self.method)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/runner.py",  
line 104, in runTest
     method()
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/test/test_udp.py",  
line 123, in testConnectionRefused
     self.assertEquals(client.refused, 1)
AttributeError: Client instance has no attribute 'refused'
======================================================================== 
=======
ERROR: testConnectionRefused (twisted.test.test_udp.UDPTestCase)
------------------------------------------------------------------------ 
-------
Traceback (most recent call last):
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 252, in _runPhase
     stage(*args, **kwargs)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/unittest.py",  
line 274, in _main
     self.runner(self.method)
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/trial/runner.py",  
line 104, in runTest
     method()
   File "/Users/warren/Desktop/Twisted-1.3.0/twisted/test/test_udp.py",  
line 216, in testConnectionRefused
     self.assertEquals(client.refused, 1)
AttributeError: GoodClient instance has no attribute 'refused'
------------------------------------------------------------------------ 
-------
Ran 1227 tests in 501.362s

FAILED (failures=4, errors=2, skips=33, expectedFailures=4)





More information about the Twisted-Python mailing list