diff options
Diffstat (limited to 'test/integration/targets/nxos_feature/tests/cli/invalid.yaml')
-rw-r--r-- | test/integration/targets/nxos_feature/tests/cli/invalid.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_feature/tests/cli/invalid.yaml b/test/integration/targets/nxos_feature/tests/cli/invalid.yaml new file mode 100644 index 0000000000..7e198b61b2 --- /dev/null +++ b/test/integration/targets/nxos_feature/tests/cli/invalid.yaml @@ -0,0 +1,15 @@ +--- +- debug: msg="START cli/invalid.yaml" + +- name: configure invalid feature name + nxos_feature: + feature: invalid + provider: "{{ cli }}" + register: result + ignore_errors: yes + +- assert: + that: + - result.failed == true + +- debug: msg="END cli/invalid.yaml" |