@@ -113,8 +113,6 @@ def test_execute_result_error():
113
113
retries = expected_retries ,
114
114
transport = RequestsHTTPTransport (
115
115
url = "https://countries.trevorblades.com/" ,
116
- use_json = True ,
117
- headers = {"Content-type" : "application/json" },
118
116
),
119
117
)
120
118
@@ -140,6 +138,7 @@ def test_http_transport_raise_for_status_error(http_transport_query):
140
138
client = Client (
141
139
transport = RequestsHTTPTransport (
142
140
url = "https://countries.trevorblades.com/" ,
141
+ use_json = False ,
143
142
headers = {"Content-type" : "application/json" },
144
143
)
145
144
)
@@ -154,8 +153,6 @@ def test_http_transport_verify_error(http_transport_query):
154
153
client = Client (
155
154
transport = RequestsHTTPTransport (
156
155
url = "https://countries.trevorblades.com/" ,
157
- use_json = True ,
158
- headers = {"Content-type" : "application/json" },
159
156
verify = False ,
160
157
)
161
158
)
@@ -170,8 +167,6 @@ def test_http_transport_specify_method_valid(http_transport_query):
170
167
client = Client (
171
168
transport = RequestsHTTPTransport (
172
169
url = "https://countries.trevorblades.com/" ,
173
- use_json = True ,
174
- headers = {"Content-type" : "application/json" },
175
170
method = "POST" ,
176
171
)
177
172
)
@@ -185,8 +180,6 @@ def test_http_transport_specify_method_invalid(http_transport_query):
185
180
client = Client (
186
181
transport = RequestsHTTPTransport (
187
182
url = "https://countries.trevorblades.com/" ,
188
- use_json = True ,
189
- headers = {"Content-type" : "application/json" },
190
183
method = "GET" ,
191
184
)
192
185
)
0 commit comments