diff options
author | Hiranya Jayathilaka <hiranya911@gmail.com> | 2017-12-05 09:29:59 -0800 |
---|---|---|
committer | Jon Wayne Parrott <jonwayne@google.com> | 2017-12-05 09:29:59 -0800 |
commit | 23c88f755653df352bcff3d49cd077e9944accc6 (patch) | |
tree | 7dc77144d053dc1ecd675530487397425c4e7dea /tests/test__cloud_sdk.py | |
parent | f682cb29ac0dc14e1e1e39d4224e4656ac36f02c (diff) | |
download | google-auth-library-python-23c88f755653df352bcff3d49cd077e9944accc6.tar.gz |
Add google.oauth2.credentials.Credentials.from_authorized_user_file (#226)
Diffstat (limited to 'tests/test__cloud_sdk.py')
-rw-r--r-- | tests/test__cloud_sdk.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test__cloud_sdk.py b/tests/test__cloud_sdk.py index c14fc20..58c7270 100644 --- a/tests/test__cloud_sdk.py +++ b/tests/test__cloud_sdk.py @@ -145,7 +145,8 @@ def test_load_authorized_user_credentials(): assert credentials._client_id == AUTHORIZED_USER_FILE_DATA['client_id'] assert (credentials._client_secret == AUTHORIZED_USER_FILE_DATA['client_secret']) - assert credentials._token_uri == _cloud_sdk._GOOGLE_OAUTH2_TOKEN_ENDPOINT + assert (credentials._token_uri == + google.oauth2.credentials._GOOGLE_OAUTH2_TOKEN_ENDPOINT) def test_load_authorized_user_credentials_bad_format(): |