Remove remaining test that contacts external server.

This commit is contained in:
Cory Benfield
2015-11-05 13:47:04 +00:00
parent 7c91e27d01
commit 43b90d7f72
+1 -1
View File
@@ -341,7 +341,7 @@ class TestRequests(object):
def test_connection_error_invalid_port(self):
"""Connecting to an invalid port should raise a ConnectionError"""
with pytest.raises(ConnectionError):
requests.get("http://httpbin.org:1", timeout=1)
requests.get("http://localhost:1", timeout=1)
def test_LocationParseError(self):
"""Inputing a URL that cannot be parsed should raise an InvalidURL error"""