Skip to content

Commit 4d16502

Browse files
authored
Mark online tests as online (#288)
1 parent 6b51742 commit 4d16502

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def test_no_schema_exception():
8585
)
8686

8787

88+
@pytest.mark.online
8889
@pytest.mark.requests
8990
def test_execute_result_error():
9091

@@ -111,6 +112,7 @@ def test_execute_result_error():
111112
assert 'Cannot query field "id" on type "Continent".' in str(exc_info.value)
112113

113114

115+
@pytest.mark.online
114116
@pytest.mark.requests
115117
def test_http_transport_raise_for_status_error(http_transport_query):
116118
from gql.transport.requests import RequestsHTTPTransport
@@ -127,6 +129,7 @@ def test_http_transport_raise_for_status_error(http_transport_query):
127129
assert "400 Client Error: Bad Request for url" in str(exc_info.value)
128130

129131

132+
@pytest.mark.online
130133
@pytest.mark.requests
131134
def test_http_transport_verify_error(http_transport_query):
132135
from gql.transport.requests import RequestsHTTPTransport
@@ -142,6 +145,7 @@ def test_http_transport_verify_error(http_transport_query):
142145
assert "Unverified HTTPS request is being made to host" in str(record[0].message)
143146

144147

148+
@pytest.mark.online
145149
@pytest.mark.requests
146150
def test_http_transport_specify_method_valid(http_transport_query):
147151
from gql.transport.requests import RequestsHTTPTransport
@@ -155,6 +159,7 @@ def test_http_transport_specify_method_valid(http_transport_query):
155159
assert result is not None
156160

157161

162+
@pytest.mark.online
158163
@pytest.mark.requests
159164
def test_http_transport_specify_method_invalid(http_transport_query):
160165
from gql.transport.requests import RequestsHTTPTransport

0 commit comments

Comments
 (0)