Add unique test names

This commit is contained in:
Laurent Indermuehle 2023-01-11 16:58:35 +01:00
parent 05a6589fc5
commit ae41a50626
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -435,7 +435,7 @@
name: '{{ role0 }}'
state: absent
- name: Check
- name: Assert that droping the role again is not changed
assert:
that:
- result is not changed
@ -455,7 +455,7 @@
'mysql.*': 'UPDATE'
check_mode: yes
- name: Check
- name: Assert that create role in check_mode is changed
assert:
that:
- result is changed
@ -466,7 +466,7 @@
<<: *mysql_params
query: "SELECT 1 FROM mysql.user WHERE User = '{{ role0 }}'"
- name: Check
- name: Assert that create role in check_mode is not in the database
assert:
that:
- result.rowcount.0 == 0