Skip to content

Commit 6fe94fe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1a8fb7f commit 6fe94fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/http/proxy/test_http2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ class TestHttp2WithProxy(TestCase):
1818
def test_http2_via_proxy(self) -> None:
1919
assert self.PROXY
2020
response = httpx.get(
21-
"https://www.google.com",
22-
headers={"accept": "application/json"},
21+
'https://www.google.com',
22+
headers={'accept': 'application/json'},
2323
verify=httpx.create_ssl_context(http2=True),
2424
timeout=httpx.Timeout(timeout=5.0),
2525
proxies={
26-
"all://": "http://localhost:%d" % self.PROXY.flags.port,
26+
'all://': 'http://localhost:%d' % self.PROXY.flags.port,
2727
},
2828
)
2929
self.assertEqual(response.status_code, 200)

0 commit comments

Comments
 (0)