mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-19 07:48:10 +00:00
Fix wrong short label for ethernet switch, hub & VPCS
Fix https://github.com/GNS3/gns3-gui/issues/1764
This commit is contained in:
@ -128,7 +128,7 @@ def test_json(node, compute):
|
||||
"link_type": "ethernet",
|
||||
"name": "Ethernet0",
|
||||
"port_number": 0,
|
||||
"short_name": "e0/0"
|
||||
"short_name": "e0"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -465,6 +465,7 @@ def test_update_label(node):
|
||||
|
||||
|
||||
def test_get_port(node):
|
||||
node._node_type = "qemu"
|
||||
node._properties["adapters"] = 2
|
||||
node._list_ports()
|
||||
port = node.get_port(0, 0)
|
||||
|
Reference in New Issue
Block a user