diff options
Diffstat (limited to 'tests/test__pycrypto_crypt.py')
-rw-r--r-- | tests/test__pycrypto_crypt.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test__pycrypto_crypt.py b/tests/test__pycrypto_crypt.py index 2ca18ec..2f45291 100644 --- a/tests/test__pycrypto_crypt.py +++ b/tests/test__pycrypto_crypt.py @@ -14,12 +14,13 @@ """Unit tests for oauth2client._pycrypto_crypt.""" import os -import unittest + +import unittest2 from oauth2client import crypt -class TestPyCryptoVerifier(unittest.TestCase): +class TestPyCryptoVerifier(unittest2.TestCase): PUBLIC_CERT_FILENAME = os.path.join(os.path.dirname(__file__), 'data', 'public_cert.pem') @@ -64,7 +65,7 @@ class TestPyCryptoVerifier(unittest.TestCase): self.assertIsInstance(verifier, crypt.PyCryptoVerifier) -class TestPyCryptoSigner(unittest.TestCase): +class TestPyCryptoSigner(unittest2.TestCase): def test_from_string_bad_key(self): key_bytes = 'definitely-not-pem-format' |