File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
"editor.formatOnSaveMode" : " modifications" ,
4
4
"editor.formatOnSave" : true ,
5
5
"editor.codeActionsOnSave" : {
6
- "source.fixAll" : true
6
+ "source.fixAll" : " explicit "
7
7
},
8
8
"[yaml]" : {
9
9
"editor.insertSpaces" : true ,
18
18
"typescript.format.semicolons" : " remove" ,
19
19
"typescript.preferences.quoteStyle" : " single" ,
20
20
"[python]" : {
21
- "editor.wordBasedSuggestions" : true ,
21
+ "editor.wordBasedSuggestions" : " matchingDocuments " ,
22
22
"editor.defaultFormatter" : null
23
23
},
24
24
"python.testing.unittestEnabled" : false ,
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://httpbin.org/get' ,
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