diff options
author | Heikki Toivonen <heikki@heikkitoivonen.net> | 2009-02-22 21:42:27 +0000 |
---|---|---|
committer | Heikki Toivonen <heikki@heikkitoivonen.net> | 2009-02-22 21:42:27 +0000 |
commit | cf281d35c479d7056ce39b7d63fbcd8945dc7dc4 (patch) | |
tree | c4a7212930e2a909e4ff0ffb7fa6fef219995c7f /tests/test_evp.py | |
parent | 6bd05411f82511020c78f7c57b7ad7f36252149e (diff) | |
download | m2crypto-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.py | 1 |
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 = [] |