cli: add lldp output tests

Check the result of 'nmcli device lldp' command.
This commit is contained in:
Beniamino Galvani
2019-01-24 18:11:26 +01:00
parent a66ab735b6
commit b1d5f11b3d
3 changed files with 1759 additions and 784 deletions

View File

@@ -1097,6 +1097,9 @@ class TestNmcli(NmTestBase):
self.call_nmcli_l(mode + ['-f', 'GENERAL,CAPABILITIES,WIFI-PROPERTIES,AP,WIRED-PROPERTIES,WIMAX-PROPERTIES,NSP,IP4,DHCP4,IP6,DHCP6,BOND,TEAM,BRIDGE,VLAN,BLUETOOTH,CONNECTIONS', 'device', 'show', 'wlan0' ],
replace_stdout = replace_stdout)
self.call_nmcli_l(mode + ['dev', 'lldp', 'list', 'ifname', 'eth0'],
replace_stdout = replace_stdout)
###############################################################################
def main():