aboutsummaryrefslogtreecommitdiff
path: root/tests/test__pycrypto_crypt.py
diff options
context:
space:
mode:
authorDanny Hermes <daniel.j.hermes@gmail.com>2016-02-04 11:29:07 -0800
committerDanny Hermes <daniel.j.hermes@gmail.com>2016-02-04 11:29:07 -0800
commite676a025c415ceb639a9bd4d225d34fca99840ce (patch)
tree65249c6f2956ef124d851c50b64864a45e470868 /tests/test__pycrypto_crypt.py
parent9bd85220faf18349fd4ba0d4a02a1588bcf0f1f6 (diff)
downloadoauth2client-e676a025c415ceb639a9bd4d225d34fca99840ce.tar.gz
Adding a pure Python crypt sub-module.
Resurrects #1.
Diffstat (limited to 'tests/test__pycrypto_crypt.py')
-rw-r--r--tests/test__pycrypto_crypt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test__pycrypto_crypt.py b/tests/test__pycrypto_crypt.py
index 0e6f6c2..55dd677 100644
--- a/tests/test__pycrypto_crypt.py
+++ b/tests/test__pycrypto_crypt.py
@@ -22,13 +22,13 @@ from oauth2client.crypt import PyCryptoVerifier
class TestPyCryptoVerifier(unittest.TestCase):
- PUBLIC_KEY_FILENAME = os.path.join(os.path.dirname(__file__),
- 'data', 'publickey.pem')
+ PUBLIC_CERT_FILENAME = os.path.join(os.path.dirname(__file__),
+ 'data', 'public_cert.pem')
PRIVATE_KEY_FILENAME = os.path.join(os.path.dirname(__file__),
'data', 'privatekey.pem')
def _load_public_key_bytes(self):
- with open(self.PUBLIC_KEY_FILENAME, 'rb') as fh:
+ with open(self.PUBLIC_CERT_FILENAME, 'rb') as fh:
return fh.read()
def _load_private_key_bytes(self):