clients/tests: add test for (invalid) call nmcli dev s eth0

This commit is contained in:
Thomas Haller 2019-09-27 09:47:06 +02:00
parent 204256149c
commit 7751c2fbd0
2 changed files with 435 additions and 391 deletions

File diff suppressed because it is too large Load diff

View file

@ -962,6 +962,10 @@ class TestNmcli(NmTestBase):
self.call_nmcli_l(['-f', 'ALL', 'dev', 'status'],
replace_stdout = replace_stdout)
# test invalid call ('s' abbrevates 'status' and not 'show'
self.call_nmcli_l(['-f', 'ALL', 'dev', 's', 'eth0'],
replace_stdout = replace_stdout)
self.call_nmcli_l(['-f', 'ALL', 'dev', 'show', 'eth0'],
replace_stdout = replace_stdout)