mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix eapi basic-login asserts (#23318)
The asserts where not checking the commands sent to the device
This commit is contained in:
parent
cf30f0f27d
commit
4571ff0b52
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
|||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'this is my login banner' in result.commands"
|
||||
- "'that has a multiline' in result.commands"
|
||||
- "result.commands.0.cmd == 'banner login'"
|
||||
- "result.commands.0.input == 'this is my login banner\nthat has a multiline\nstring'"
|
||||
# Ensure sessions contains epoc. Will fail after 18th May 2033
|
||||
- "'ansible_1' in result.session_name"
|
||||
|
||||
|
|
Loading…
Reference in a new issue