forked from pool/python-google-auth
* pytest5.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=14
14 lines
648 B
Diff
14 lines
648 B
Diff
Index: google-auth-1.6.3/tests/test__default.py
|
|
===================================================================
|
|
--- google-auth-1.6.3.orig/tests/test__default.py
|
|
+++ google-auth-1.6.3/tests/test__default.py
|
|
@@ -92,7 +92,7 @@ def test__load_credentials_from_file_aut
|
|
|
|
|
|
def test__load_credentials_from_file_authorized_user_cloud_sdk():
|
|
- with pytest.warns(UserWarning, matches='Cloud SDK'):
|
|
+ with pytest.warns(UserWarning, match='Cloud SDK'):
|
|
credentials, project_id = _default._load_credentials_from_file(
|
|
AUTHORIZED_USER_CLOUD_SDK_FILE)
|
|
assert isinstance(credentials, google.oauth2.credentials.Credentials)
|