Merge pull request #3236 from eriol/xfail-test

Use xfail marker for a test expected to fail without Internet connection
This commit is contained in:
2016-06-20 22:17:23 -04:00
committed by GitHub
+1
View File
@@ -1142,6 +1142,7 @@ class TestRequests:
preq = req.prepare()
assert test_url == preq.url
@pytest.mark.xfail(raises=ConnectionError)
def test_auth_is_stripped_on_redirect_off_host(self, httpbin):
r = requests.get(
httpbin('redirect-to'),