Skip to content

Commit

Permalink
tests/idoverrideuser: Fix client context test when running on client
Browse files Browse the repository at this point in the history
When running test_idoverrideuser_client_context.yml on a client host, it
tried to run a task that does not have the required fields and fails
the test.

Signed-off-by: Rafael Guterres Jeffman <[email protected]>
  • Loading branch information
rjeffman committed Jan 29, 2025
1 parent 9195494 commit f5f4549
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/idoverrideuser/test_idoverrideuser_client_context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
ipaidoverrideuser:
ipaadmin_password: SomeADMINpassword
ipaapi_context: server
name: ThisShouldNotWork
idview: ThisShouldNotWork
anchor: ThisShouldNotWork
register: result
failed_when: not (result.failed and result.msg is regex("No module named '*ipaserver'*"))
when: ipa_host_is_client
Expand Down

0 comments on commit f5f4549

Please sign in to comment.