Skip to content

Commit

Permalink
s3_bucket_notification tests: Be less restrictive in assertion (#66)
Browse files Browse the repository at this point in the history
* s3_bucket_notification tests: Be less restrictive in assertion

Assertion is failing on missing args assertion due to
ansible/ansible#67771
Be less restrictive in what we assert to prevent these types of failures.
  • Loading branch information
jillr authored May 6, 2020
1 parent 3057c3c commit af3a27b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
assert:
that:
- result.failed
- 'result.msg.startswith("missing required arguments: event_name, bucket_name")'
- '"missing required arguments" in result.msg'
- name: test abesnt
s3_bucket_notification: state=absent
register: result
Expand All @@ -385,4 +385,4 @@
assert:
that:
- result.failed
- 'result.msg.startswith("missing required arguments: event_name, bucket_name")'
- '"missing required arguments" in result.msg'

0 comments on commit af3a27b

Please sign in to comment.