Skip to content
Myr

Remove remaining test that contacts external server.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cory Benfield · committed by Cory Benfield · parent 7c91e27 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:test_requests.py+1 added-1 removed
339 unmodified lines
340341 def test_connection_error_invalid_port(self):342 """Connecting to an invalid port should raise a ConnectionError"""343 with pytest.raises(ConnectionError):344 requests.get("http://httpbin.org:1", timeout=1)344 requests.get("http://localhost:1", timeout=1)345346 def test_LocationParseError(self):347 """Inputing a URL that cannot be parsed should raise an InvalidURL error"""348 with pytest.raises(InvalidURL):
1384 unmodified lines