@@ -111,9 +111,7 @@ def test_execute_result_error():
111
111
112
112
client = Client (
113
113
retries = expected_retries ,
114
- transport = RequestsHTTPTransport (
115
- url = "https://countries.trevorblades.com/" ,
116
- ),
114
+ transport = RequestsHTTPTransport (url = "https://countries.trevorblades.com/" ,),
117
115
)
118
116
119
117
failing_query = gql (
@@ -152,8 +150,7 @@ def test_http_transport_raise_for_status_error(http_transport_query):
152
150
def test_http_transport_verify_error (http_transport_query ):
153
151
client = Client (
154
152
transport = RequestsHTTPTransport (
155
- url = "https://countries.trevorblades.com/" ,
156
- verify = False ,
153
+ url = "https://countries.trevorblades.com/" , verify = False ,
157
154
)
158
155
)
159
156
with pytest .warns (Warning ) as record :
@@ -166,8 +163,7 @@ def test_http_transport_verify_error(http_transport_query):
166
163
def test_http_transport_specify_method_valid (http_transport_query ):
167
164
client = Client (
168
165
transport = RequestsHTTPTransport (
169
- url = "https://countries.trevorblades.com/" ,
170
- method = "POST" ,
166
+ url = "https://countries.trevorblades.com/" , method = "POST" ,
171
167
)
172
168
)
173
169
@@ -179,8 +175,7 @@ def test_http_transport_specify_method_valid(http_transport_query):
179
175
def test_http_transport_specify_method_invalid (http_transport_query ):
180
176
client = Client (
181
177
transport = RequestsHTTPTransport (
182
- url = "https://countries.trevorblades.com/" ,
183
- method = "GET" ,
178
+ url = "https://countries.trevorblades.com/" , method = "GET" ,
184
179
)
185
180
)
186
181
0 commit comments