Merge remote-tracking branch 'origin/master' into 2.2

This commit is contained in:
grossmj committed 2026-03-23 09:38:13 +08:00
commit 667833dda5
2 files changed
+9 -2

No files matched your search

+7
View File
@@ -132,6 +132,13 @@ def test_list_ports_port_name_format(node):
assert node.__json__()["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