netgroup: Fix environment cleanup on ipanetgroup tests.

Tests for ipanetgroup were not correctly clearing up the tests, causing
test failures when running them in some specific order.

By fixing the 'name' attribute list the tests succeed, independently of
the order they are executed.
This commit is contained in:
Rafael Guterres Jeffman
2022-11-11 13:19:08 -03:00
parent 68c52b564a
commit 3773e300f0
2 changed files with 8 additions and 4 deletions

View File

@@ -45,7 +45,8 @@
ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}"
name:
- TestNetgroup1,admins
- TestNetgroup1
- admins
state: absent
# CREATE TEST ITEMS
@@ -155,5 +156,6 @@
ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}"
name:
- TestNetgroup1,admins
- TestNetgroup1
- admins
state: absent

View File

@@ -45,7 +45,8 @@
ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}"
name:
- TestNetgroup1,admins
- TestNetgroup1
- admins
state: absent
# CREATE TEST ITEMS
@@ -202,5 +203,6 @@
ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}"
name:
- TestNetgroup1,admins
- TestNetgroup1
- admins
state: absent