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

tests: Remove ignore_errors from pwpolicy tests.

Instead of ignoring errors it is better that we specific evaluate
errors provided by negative tests. This patche removes the an
occurrence of 'ignore_errors: true' in ansible-freeipa tests.
parent 32f4e083
No related branches found
No related tags found
No related merge requests found
......@@ -81,8 +81,7 @@
ipaadmin_password: SomeADMINpassword
state: absent
register: result
ignore_errors: True
failed_when: (result is defined and result) or result.failed
failed_when: not result.failed or "'global_policy' can not be made absent." not in result.msg
- name: Ensure absence of pwpolicies for group ops
ipapwpolicy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment