From d5a6686e238754a69b77436e729e840e3754ed42 Mon Sep 17 00:00:00 2001 From: jaketothepast Date: Sat, 26 Jan 2019 13:17:00 -0500 Subject: [PATCH] First passing proxy test --- test/test_proxy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_proxy.py b/test/test_proxy.py index 1df4ade..43f600c 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -4,6 +4,7 @@ import requests http_proxy = "http://127.0.0.1:8124" def test_proxy_basic(): - resp = requests.get("http://google.com", proxies={"http": http_proxy}) - + resp = requests.get("http://alibaba.com", proxies={"http": http_proxy}) + assert resp.status_code == 200 + \ No newline at end of file