Switch to httpbin.org

This commit is contained in:
Jacob Windle 2019-01-27 11:43:32 -05:00
parent 8ffb1a0522
commit 16b5d88d05

View File

@ -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