Skip to content

Commit 05a0786

Browse files
Fix string assertion in cmci test
1 parent f9658fd commit 05a0786

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/targets/cics_cmci/playbooks/cmci_incorrect_host.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
ansible.builtin.assert:
2424
that:
2525
- result.failed is false
26-
- '{{ result.msg[:51] == "Error performing CMCI request: <urllib3.connection." }}'
27-
- '{{ result.msg[-25:] == "Name or service not known" }}'
26+
- '{{ "Error performing CMCI request: <urllib3.connection." in result.msg }}'
27+
- '{{ "Name or service not known" in result.msg }}'

0 commit comments

Comments
 (0)