Switch to httpbin.org
This commit is contained in:
parent
8ffb1a0522
commit
16b5d88d05
@ -4,7 +4,7 @@ import requests
|
|||||||
http_proxy = "http://127.0.0.1:8124"
|
http_proxy = "http://127.0.0.1:8124"
|
||||||
|
|
||||||
def test_proxy_basic():
|
def test_proxy_basic():
|
||||||
resp = requests.get("http://alibaba.com", proxies={"http": http_proxy})
|
resp = requests.get("http://httpbin.org", proxies={"http": http_proxy})
|
||||||
assert resp.status_code == 200
|
assert resp.status_code == 200
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user