blob: ad875e728314f31cdb12ab47c967814b288c4cf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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/"
|