MCPcopy
hub / github.com/ktbyers/netmiko / test_invalid_port

Function test_invalid_port

tests/test_netmiko_exceptions.py:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_invalid_port():
21 device = DEVICE_DICT["cisco3_invalid"]
22 device["port"] = 8022
23 with pytest.raises(NetmikoTimeoutException):
24 ConnectHandler(**device)
25
26
27def test_conn_timeout():

Callers

nothing calls this directly

Calls 1

ConnectHandlerFunction · 0.90

Tested by

no test coverage detected