We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8fb7f commit 6fe94feCopy full SHA for 6fe94fe
tests/http/proxy/test_http2.py
@@ -18,12 +18,12 @@ class TestHttp2WithProxy(TestCase):
18
def test_http2_via_proxy(self) -> None:
19
assert self.PROXY
20
response = httpx.get(
21
- "https://www.google.com",
22
- headers={"accept": "application/json"},
+ 'https://www.google.com',
+ headers={'accept': 'application/json'},
23
verify=httpx.create_ssl_context(http2=True),
24
timeout=httpx.Timeout(timeout=5.0),
25
proxies={
26
- "all://": "http://localhost:%d" % self.PROXY.flags.port,
+ 'all://': 'http://localhost:%d' % self.PROXY.flags.port,
27
},
28
)
29
self.assertEqual(response.status_code, 200)
0 commit comments