Fix wrong short label for ethernet switch, hub & VPCS

Fix https://github.com/GNS3/gns3-gui/issues/1764
This commit is contained in:
Julien Duponchelle committed 2017-01-09 16:48:42 +01:00
1 parent 2de60ba257
commit 58287b3638
4 files changed
+38 -8

No files matched your search

+2 -1
View File
@@ -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)