diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch')
| -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/" |
