mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 22:03:18 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user