mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Merge branch '2.2' into 3.0
# Conflicts: # gns3server/appliances/infix.gns3a # gns3server/appliances/juniper-vJunos-router.gns3a # gns3server/controller/ports/port.py # gns3server/crash_report.py # gns3server/utils/asyncio/telnet_server.py # gns3server/version.py
This commit is contained in:
5 files changed
+19
-16
No files matched your search
@@ -133,6 +133,13 @@ def test_list_ports_port_name_format(node):
|
||||
assert node.asdict()["ports"][1]["name"] == "eth0/0"
|
||||
|
||||
|
||||
def test_short_name_none():
|
||||
"""
|
||||
Test short_name does not raise exception when name is None
|
||||
"""
|
||||
assert EthernetPort(None, 0, 0, 0).short_name is None
|
||||
|
||||
|
||||
def test_list_ports_adapters(node):
|
||||
"""
|
||||
List port using adapters properties
|
||||
|
||||
Reference in new issue
Block a user