mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 21:39:10 -07:00
Actually check for equality on empty commands array (#25308)
This commit is contained in:
parent
0133a5a763
commit
f52dcef7ba
7 changed files with 8 additions and 10 deletions
|
@ -95,8 +95,7 @@ class TestEosEapiModule(TestEosModule):
|
|||
|
||||
def test_eos_eapi_http_invalid(self):
|
||||
set_module_args(dict(http_port=80000))
|
||||
commands = []
|
||||
self.start_unconfigured(failed=True, commands=commands)
|
||||
self.start_unconfigured(failed=True)
|
||||
|
||||
def test_eos_eapi_https_enable(self):
|
||||
set_module_args(dict(https=True))
|
||||
|
@ -137,8 +136,7 @@ class TestEosEapiModule(TestEosModule):
|
|||
|
||||
def test_eos_eapi_vrf_missing(self):
|
||||
set_module_args(dict(vrf='missing'))
|
||||
commands = []
|
||||
self.start_unconfigured(failed=True, commands=commands)
|
||||
self.start_unconfigured(failed=True)
|
||||
|
||||
def test_eos_eapi_state_absent(self):
|
||||
set_module_args(dict(state='stopped'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue