summaryrefslogtreecommitdiff
path: root/tests/test_evp.py
diff options
context:
space:
mode:
authorHeikki Toivonen <heikki@heikkitoivonen.net>2009-02-22 21:42:27 +0000
committerHeikki Toivonen <heikki@heikkitoivonen.net>2009-02-22 21:42:27 +0000
commitcf281d35c479d7056ce39b7d63fbcd8945dc7dc4 (patch)
treec4a7212930e2a909e4ff0ffb7fa6fef219995c7f /tests/test_evp.py
parent6bd05411f82511020c78f7c57b7ad7f36252149e (diff)
downloadm2crypto-cf281d35c479d7056ce39b7d63fbcd8945dc7dc4.tar.gz
Add tests for RC4 and improve test coverage of other modules.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@672 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'tests/test_evp.py')
-rw-r--r--tests/test_evp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_evp.py b/tests/test_evp.py
index bf732f7..4eefefe 100644
--- a/tests/test_evp.py
+++ b/tests/test_evp.py
@@ -357,6 +357,7 @@ class HMACTestCase(unittest.TestCase):
h.update(d[1])
ret = h.final()
self.assertEqual(ret, d[2])
+ self.assertRaises(ValueError, EVP.HMAC, d[0], algo='nosuchalgo')
def make_chain_HMAC(self, key, start, input, algo='sha1'):
chain = []