diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-05-12 21:11:52 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-05-12 23:41:34 -0700 |
commit | b74b888c29ca960d21c02368b98853d045ef5c73 (patch) | |
tree | 460407c9dc10181f69c94fb3f7ee109a57a69f86 /dev-python/google-api-python-client/files | |
parent | app-admin/restart-services: bump version (diff) | |
download | gentoo-b74b888c29ca960d21c02368b98853d045ef5c73.tar.gz gentoo-b74b888c29ca960d21c02368b98853d045ef5c73.tar.bz2 gentoo-b74b888c29ca960d21c02368b98853d045ef5c73.zip |
dev-python/google-api-python-client: Version bump, add py38
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/google-api-python-client/files')
-rw-r--r-- | dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch b/dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch new file mode 100644 index 000000000000..ad875e728314 --- /dev/null +++ b/dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch @@ -0,0 +1,28 @@ +diff --git a/tests/test_discovery.py b/tests/test_discovery.py +index 6400f214..c999fd4f 100644 +--- a/tests/test_discovery.py ++++ b/tests/test_discovery.py +@@ -40,6 +40,7 @@ import sys + import unittest2 as unittest + + import mock ++import pytest + + import google.auth.credentials + import google_auth_httplib2 +@@ -515,6 +516,7 @@ class DiscoveryFromDocument(unittest.TestCase): + # application default credentials were used. + self.assertNotIsInstance(plus._http, google_auth_httplib2.AuthorizedHttp) + ++ @pytest.mark.skip("Needs network access and credentials") + def test_api_endpoint_override_from_client_options(self): + discovery = open(datafile("plus.json")).read() + api_endpoint = "https://foo.googleapis.com/" +@@ -525,6 +527,7 @@ class DiscoveryFromDocument(unittest.TestCase): + + self.assertEqual(plus._baseUrl, api_endpoint) + ++ @pytest.mark.skip("Needs network access and credentials") + def test_api_endpoint_override_from_client_options_dict(self): + discovery = open(datafile("plus.json")).read() + api_endpoint = "https://foo.googleapis.com/" |