aboutsummaryrefslogtreecommitdiff
path: root/tests/test__service_account_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test__service_account_info.py')
-rw-r--r--tests/test__service_account_info.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test__service_account_info.py b/tests/test__service_account_info.py
index fd2d8c8..13b2f85 100644
--- a/tests/test__service_account_info.py
+++ b/tests/test__service_account_info.py
@@ -16,6 +16,7 @@ import json
import os
import pytest
+import six
from google.auth import _service_account_info
from google.auth import crypt
@@ -54,7 +55,7 @@ def test_from_dict_bad_format():
def test_from_filename():
info, signer = _service_account_info.from_filename(SERVICE_ACCOUNT_JSON_FILE)
- for key, value in SERVICE_ACCOUNT_INFO.items():
+ for key, value in six.iteritems(SERVICE_ACCOUNT_INFO):
assert info[key] == value
assert isinstance(signer, crypt.RSASigner)