|
@@ -19,6 +19,10 @@ def test_is_port_open():
|
|
|
assert helpers.is_port_open(host, port), 'after opening the socket, the port should be detected'
|
|
|
|
|
|
|
|
|
+def test_is_port_open_on_bad_ip():
|
|
|
+ assert not helpers.is_port_open('1.2', 0), 'should not be able to connect to a bad IP'
|
|
|
+
|
|
|
+
|
|
|
def test_schedule_browser(monkeypatch):
|
|
|
|
|
|
called_with_url = None
|