ensure test_win_user fails on bogus error
We weren't previously checking the error message- it failed as expected, but for the wrong reason.
This commit is contained in:
parent
b52ca3e21e
commit
698ae7c383
|
@ -375,6 +375,7 @@
|
|||
that:
|
||||
- "win_user_invalid_group_result|failed"
|
||||
- "win_user_invalid_group_result.msg"
|
||||
- win_user_invalid_group_result.msg | match("group 'Userz' not found")
|
||||
|
||||
- name: remove test user when finished
|
||||
win_user: name="{{ test_win_user_name }}" state="absent"
|
||||
|
|
Loading…
Reference in a new issue