mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-30 17:46:59 +00:00
Fix get_port test.
This commit is contained in:
parent
519df3ab35
commit
654aa18d09
@ -517,8 +517,8 @@ def test_get_port(node):
|
|||||||
assert port.port_number == 0
|
assert port.port_number == 0
|
||||||
port = node.get_port(1, 0)
|
port = node.get_port(1, 0)
|
||||||
assert port.adapter_number == 1
|
assert port.adapter_number == 1
|
||||||
with pytest.raises(aiohttp.web.HTTPNotFound):
|
port = node.get_port(42, 0)
|
||||||
port = node.get_port(42, 0)
|
assert port is None
|
||||||
|
|
||||||
|
|
||||||
def test_parse_node_response(node, async_run):
|
def test_parse_node_response(node, async_run):
|
||||||
|
Loading…
Reference in New Issue
Block a user