mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
* Issue #39860: Add 'not_contains' method to parsing.py * Issue #30860 Adds self.negate to Conditional class in lib/ansible/module_utils/network/common/parsing.py * Issue #39860 Fix singleton-comparison issue per sanity tests * Issue #39860 'test/integration/targets/nxos_command/tests/cli/not_comparison_operator.yaml' integration test * Issue #39860 Add unit tests to '../../test/units/module_utils/network/common/test_parsing.py' * Issue #39860 Fix singleton comparison issue * Fix E302 expected 2 blank lines, found 1 * Issue #39860 Add license header to unit tests * Issue #39860 Move integration test to 'test/integration/targets/nxos_command/tests/common/'; remove unnecessary comment from unit test * Issue #39860 remove unnecessary comment from unit test
This commit is contained in:
committed by
Trishna Guha
parent
77526a5036
commit
fb7882bf86
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- debug: msg="START common/not_comparison_operator.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
- name: test 'not' keyword in wait_for
|
||||
nxos_command:
|
||||
commands:
|
||||
- show version
|
||||
wait_for:
|
||||
- "result[0] not contains QWERTYQWERTYQWERTY"
|
||||
- "result[0] == not QWERTYQWERTYQWERTY"
|
||||
- "result[0] matches not QWERTYQWERTYQWERTY"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
- debug: msg="END common/not_comparison_operator.yaml on connection={{ ansible_connection }}"
|
||||
Reference in New Issue
Block a user