File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ build:
31
31
# Optionally set the version of Python and requirements required
32
32
# to build docs
33
33
python :
34
+ system_packages : false
34
35
install :
35
36
- method : pip
36
37
path : .
37
38
- requirements : requirements-tunnel.txt
38
39
- requirements : docs/requirements.txt
39
- system_packages : false
40
40
41
41
...
Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ class TestHttp2WithProxy(TestCase):
18
18
def test_http2_via_proxy (self ) -> None :
19
19
assert self .PROXY
20
20
response = httpx .get (
21
- " https://www.google.com" ,
22
- headers = {" accept" : " application/json" },
21
+ ' https://www.google.com' ,
22
+ headers = {' accept' : ' application/json' },
23
23
verify = httpx .create_ssl_context (http2 = True ),
24
24
timeout = httpx .Timeout (timeout = 5.0 ),
25
25
proxies = {
26
- " all://" : " http://localhost:%d" % self .PROXY .flags .port ,
26
+ ' all://' : ' http://localhost:%d' % self .PROXY .flags .port ,
27
27
},
28
28
)
29
29
self .assertEqual (response .status_code , 200 )
You can’t perform that action at this time.
0 commit comments