Skip to content

Commit

Permalink
tweak integration tests to allow more information in the error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Apr 26, 2020
1 parent a12b656 commit ffe5e87
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/integration/targets/ec2_elb_lb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@
assert:
that:
- 'result.failed'
- 'result.msg.startswith("missing required arguments: ")'

- '"missing required arguments" in result.msg'


# ============================================================
Expand Down Expand Up @@ -273,7 +272,7 @@
assert:
that:
- 'result.failed'
- 'result.msg.startswith("Region asdf querty 1234 does not seem to be available ")'
- '"Region asdf querty 1234 does not seem to be available" in result.msg'


# ============================================================
Expand All @@ -298,7 +297,7 @@
assert:
that:
- 'result.failed'
- 'result.msg.startswith("No handler was ready to authenticate.")'
- '"No handler was ready to authenticate" in result.msg'


# ============================================================
Expand All @@ -325,7 +324,7 @@
assert:
that:
- 'result.failed'
- 'result.msg.startswith("No handler was ready to authenticate.")'
- '"No handler was ready to authenticate" in result.msg'


# ============================================================
Expand All @@ -351,7 +350,7 @@
assert:
that:
- 'result.failed'
- 'result.msg.startswith("No handler was ready to authenticate.")'
- '"No handler was ready to authenticate" in result.msg'


# ============================================================
Expand Down

0 comments on commit ffe5e87

Please sign in to comment.