diff options
Diffstat (limited to 'lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/words/test/test_oscar.py')
-rwxr-xr-x | lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/words/test/test_oscar.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/words/test/test_oscar.py b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/words/test/test_oscar.py deleted file mode 100755 index f807ce5a..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/words/test/test_oscar.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (c) Twisted Matrix Laboratories. -# See LICENSE for details. - -""" -Tests for L{twisted.words.protocols.oscar}. -""" - -from twisted.trial.unittest import TestCase - -from twisted.words.protocols.oscar import encryptPasswordMD5 - - -class PasswordTests(TestCase): - """ - Tests for L{encryptPasswordMD5}. - """ - def test_encryptPasswordMD5(self): - """ - L{encryptPasswordMD5} hashes the given password and key and returns a - string suitable to use to authenticate against an OSCAR server. - """ - self.assertEqual( - encryptPasswordMD5('foo', 'bar').encode('hex'), - 'd73475c370a7b18c6c20386bcf1339f2') |