diff options
Diffstat (limited to 'test/integration/targets/iosxr_banner/tests/cli/basic-login.yaml')
-rw-r--r-- | test/integration/targets/iosxr_banner/tests/cli/basic-login.yaml | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/test/integration/targets/iosxr_banner/tests/cli/basic-login.yaml b/test/integration/targets/iosxr_banner/tests/cli/basic-login.yaml deleted file mode 100644 index 032fa1f4ea..0000000000 --- a/test/integration/targets/iosxr_banner/tests/cli/basic-login.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -- name: setup - remove login - iosxr_banner: - banner: login - provider: "{{ cli }}" - state: absent - -- name: Set login - iosxr_banner: - banner: login - text: | - this is my login banner - that has a multiline - string - provider: "{{ cli }}" - state: present - register: result - -- debug: - msg: "{{ result }}" - -- assert: - that: - - "result.changed == true" - - "'this is my login banner' in result.commands[0]" - - "'that has a multiline' in result.commands[0]" - -- name: Set login again (idempotent) - iosxr_banner: - banner: login - text: | - this is my login banner - that has a multiline - string - provider: "{{ cli }}" - state: present - register: result - -- assert: - that: - - "result.changed == false" - - "result.commands | length == 0" - - -# FIXME add in tests for everything defined in docs -# FIXME Test state:absent + test: -# FIXME Without powers ensure "privileged mode required" |