Fix asserts on ios_banner tests (#23315)
The contain assert was broken.
This commit is contained in:
parent
3a78861cb5
commit
cf30f0f27d
2 changed files with 2 additions and 4 deletions
|
@ -25,8 +25,7 @@
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- "result.changed == true"
|
- "result.changed == true"
|
||||||
- "'this is my login banner' in result.commands"
|
- "'banner login @\nthis is my login banner\nthat has a multiline\nstring\n@' in result.commands"
|
||||||
- "'that has a multiline' in result.commands"
|
|
||||||
|
|
||||||
- name: Set login again (idempotent)
|
- name: Set login again (idempotent)
|
||||||
ios_banner:
|
ios_banner:
|
||||||
|
|
|
@ -24,8 +24,7 @@
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- "result.changed == true"
|
- "result.changed == true"
|
||||||
- "'this is my motd banner' in result.commands"
|
- "'banner motd @\nthis is my motd banner\nthat has a multiline\nstring\n@' in result.commands"
|
||||||
- "'that has a multiline' in result.commands"
|
|
||||||
|
|
||||||
- name: Set motd again (idempotent)
|
- name: Set motd again (idempotent)
|
||||||
ios_banner:
|
ios_banner:
|
||||||
|
|
Loading…
Reference in a new issue