Refactor tests to use is succeeded or is failed

This commit is contained in:
Laurent Indermuehle 2022-08-22 14:30:13 +02:00
commit d93b27e120
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
6 changed files with 24 additions and 24 deletions

View file

@ -225,7 +225,7 @@
- assert:
that:
- result.failed == true
- result is failed
- name: Check the prev rename
mysql_query:
@ -271,8 +271,8 @@
- assert:
that:
- result is failed
- result.msg is search('the query option value must be a string or list')
- result is failed
- result.msg is search('the query option value must be a string or list')
- name: Pass wrong query element
mysql_query:
@ -286,8 +286,8 @@
- assert:
that:
- result is failed
- result.msg is search('the elements in query list must be strings')
- result is failed
- result.msg is search('the elements in query list must be strings')
- name: Create {{ test_table4 }}
mysql_query: