Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295135 - dev-python/twisted-words-9.0.0 fails tests
Summary: dev-python/twisted-words-9.0.0 fails tests
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 01:39 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-01-12 11:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
twisted-words-9.0.0:20091130-014034.log (twisted-words-9.0.0:20091130-014034.log,65.09 KB, text/plain)
2009-11-30 01:40 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-30 01:39:37 UTC
dev-python/twisted-words-9.0.0 fails tests.

[FAIL]: twisted.words.test.test_jabberclient.IQAuthInitializerTest.testDigest                                                                               

Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-words-9.0.0/temp/usr/lib64/python2.6/site-packages/twisted/words/test/test_jabberclient.py", line 116, in testDigest                                                                                                                                                          
    self.assertEquals('set', iq['type'])                                                                                                                     
twisted.trial.unittest.FailTest: not equal:                                                                                                                  
a = 'set'                                                                                                                                                    
b = 'result'                                                                                                                                                 

===============================================================================
[ERROR]: twisted.words.test.test_jabbercomponent.ComponentAuthTest.testAuth    

Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-words-9.0.0/temp/usr/lib64/python2.6/site-packages/twisted/words/test/test_jabbercomponent.py", line 84, in testAuth                                                                                                                                                          
    self.assertEquals(outlist[1], "<handshake>%s</handshake>" % (hv))                                                                                        
exceptions.IndexError: list index out of range                                                                                                               
===============================================================================                                                                              
[ERROR]: twisted.words.test.test_jabberxmlstream.ConnectAuthenticatorTest.testFailure                                                                        

Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-words-9.0.0/temp/usr/lib64/python2.6/site-packages/twisted/words/protocols/jabber/client.py", line 119, in _cbAuthQuery                                                                                                                                                       
    digest = xmlstream.hashPassword(self.xmlstream.sid, password)                                                                                            
  File "/var/tmp/portage/dev-python/twisted-words-9.0.0/temp/usr/lib64/python2.6/site-packages/twisted/words/protocols/jabber/xmlstream.py", line 46, in hashPassword                                                                                                                                                     
    return sha1("%s%s" % (sid, password)).hexdigest()                                                                                                        
exceptions.TypeError: Unicode-objects must be encoded before hashing
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-30 01:40:44 UTC
Created attachment 211551 [details]
twisted-words-9.0.0:20091130-014034.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 11:41:07 UTC
All 3 previously failing tests now pass.