diff options
| author | Cory Benfield <lukasaoz@gmail.com> | 2015-11-05 13:47:04 +0000 |
|---|---|---|
| committer | Cory Benfield <lukasaoz@gmail.com> | 2015-11-05 13:49:35 +0000 |
| commit | 43b90d7f72c4793aa538dd7eac2ac126da2a3aaf (patch) | |
| tree | 95301b75bf822dc29cae12e54ecb4184beb6710b | |
| parent | 7c91e27d0142c177add6a1f726712f58914d4f52 (diff) | |
| download | python-requests-pytest-httpbin.tar.gz | |
Remove remaining test that contacts external server.pytest-httpbin
| -rwxr-xr-x | test_requests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_requests.py b/test_requests.py index 24284c04..08d2f148 100755 --- a/test_requests.py +++ b/test_requests.py @@ -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""" |
