mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-29 01:11:46 -07:00
Refactor tests to use "is" and "is not" changed
This commit is contained in:
parent
61586ae4cc
commit
e3a2b22fdd
18 changed files with 128 additions and 122 deletions
|
@ -31,6 +31,6 @@
|
|||
- name: assert output mysql variable name and value
|
||||
assert:
|
||||
that:
|
||||
- "result.changed | bool == true"
|
||||
- result is changed
|
||||
- "'{{ var_name }}' in result.stdout"
|
||||
- "'{{ var_value }}' in result.stdout"
|
||||
|
|
|
@ -35,6 +35,6 @@
|
|||
- name: assert output variable info match mysql variable info
|
||||
assert:
|
||||
that:
|
||||
- "result.changed | bool == true"
|
||||
- result is changed
|
||||
- "key_name in result.stdout"
|
||||
- "key_value in result.stdout"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue