diff options
author | Jon Wayne Parrott <jonwayne@google.com> | 2017-02-22 14:37:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-22 14:37:31 -0800 |
commit | 254befe4eca0dcc5d65d348f74c450491aff0fa1 (patch) | |
tree | d8cb6ab5c7e3f27a8deb150647953c089ce5d9d2 /tests/test__service_account_info.py | |
parent | a20981969f8b405d363de8efbf2413248ac4e53c (diff) | |
download | google-auth-library-python-254befe4eca0dcc5d65d348f74c450491aff0fa1.tar.gz |
Create abstract Verifier and Signer, remove key_id hack from App Engine and IAM signers (#115)
Diffstat (limited to 'tests/test__service_account_info.py')
-rw-r--r-- | tests/test__service_account_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test__service_account_info.py b/tests/test__service_account_info.py index 4caea95..5466865 100644 --- a/tests/test__service_account_info.py +++ b/tests/test__service_account_info.py @@ -31,7 +31,7 @@ with open(SERVICE_ACCOUNT_JSON_FILE, 'r') as fh: def test_from_dict(): signer = _service_account_info.from_dict(SERVICE_ACCOUNT_INFO) - assert isinstance(signer, crypt.Signer) + assert isinstance(signer, crypt.RSASigner) assert signer.key_id == SERVICE_ACCOUNT_INFO['private_key_id'] @@ -59,5 +59,5 @@ def test_from_filename(): for key, value in six.iteritems(SERVICE_ACCOUNT_INFO): assert info[key] == value - assert isinstance(signer, crypt.Signer) + assert isinstance(signer, crypt.RSASigner) assert signer.key_id == SERVICE_ACCOUNT_INFO['private_key_id'] |