Skip to content

Commit

Permalink
Adjust incidental tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 22, 2020
1 parent 01ec1be commit 155c9de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -56,7 +56,7 @@
assert:
that:
- 'result.failed'
- "'missing required arguments:' in result.msg"
- "'required parameter role_arn cannot be none (null)' in result.msg"

# ============================================================
- name: test with empty parameters
Expand All @@ -79,7 +79,7 @@
assert:
that:
- 'result.failed'
- "'Missing required parameter in input:' in result.msg"
- "'missing required arguments: role_arn, role_session_name' in result.msg"
when: result.module_stderr is not defined

- name: assert with empty parameters
Expand Down
Expand Up @@ -11,7 +11,7 @@

- assert:
that:
- result.msg == 'value of config parameter must not be empty for state merged'
- result.msg == 'required parameter config cannot be none (null)'

- name: Replaced with empty config should give appropriate error message
vyos.vyos.vyos_lldp_interfaces:
Expand All @@ -22,7 +22,7 @@

- assert:
that:
- result.msg == 'value of config parameter must not be empty for state replaced'
- result.msg == 'required parameter config cannot be none (null)'

- name: Overridden with empty config should give appropriate error message
vyos.vyos.vyos_lldp_interfaces:
Expand All @@ -33,4 +33,4 @@

- assert:
that:
- result.msg == 'value of config parameter must not be empty for state overridden'
- result.msg == 'required parameter config cannot be none (null)'

0 comments on commit 155c9de

Please sign in to comment.