Skip to content
Snippets Groups Projects
Commit 3773e300 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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.
parent 68c52b56
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
ipaadmin_password: SomeADMINpassword ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}" ipaapi_context: "{{ ipa_context | default(omit) }}"
name: name:
- TestNetgroup1,admins - TestNetgroup1
- admins
state: absent state: absent
# CREATE TEST ITEMS # CREATE TEST ITEMS
...@@ -155,5 +156,6 @@ ...@@ -155,5 +156,6 @@
ipaadmin_password: SomeADMINpassword ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}" ipaapi_context: "{{ ipa_context | default(omit) }}"
name: name:
- TestNetgroup1,admins - TestNetgroup1
- admins
state: absent state: absent
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
ipaadmin_password: SomeADMINpassword ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}" ipaapi_context: "{{ ipa_context | default(omit) }}"
name: name:
- TestNetgroup1,admins - TestNetgroup1
- admins
state: absent state: absent
# CREATE TEST ITEMS # CREATE TEST ITEMS
...@@ -202,5 +203,6 @@ ...@@ -202,5 +203,6 @@
ipaadmin_password: SomeADMINpassword ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}" ipaapi_context: "{{ ipa_context | default(omit) }}"
name: name:
- TestNetgroup1,admins - TestNetgroup1
- admins
state: absent state: absent
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment