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
Created attachment 211551 [details] twisted-words-9.0.0:20091130-014034.log
All 3 previously failing tests now pass.