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:
nitzmahone 2016-04-07 18:24:12 -07:00
parent b52ca3e21e
commit 698ae7c383

View file

@ -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"