ansible/test/integration/roles/test_dellos10_command/tests/cli/contains.yaml
Senthil Kumar Ganesan 2f46f8f944 Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915)
* Support for network_cli plugin and tests

* Fixed ansible-test * issues

* Fixed Pylint warning

* Fixed the sanity test errors

* Fix YAMLlinter issue - removed blank spaces

* Fixed Python 3 failures

* Fixed the PEP8 issue

* Fix sanity --test validate-modules

* Reverted the changes to the doc fragments
2018-01-25 12:37:27 +00:00

20 lines
436 B
YAML
Executable file

---
- debug: msg="START cli/contains.yaml"
- name: test contains operator
dellos10_command:
commands:
- show version
- show interface ethernet 1/1/1
wait_for:
- "result[0] contains OS10-Premium"
- "result[1] contains Ethernet "
provider: "{{ cli }}"
register: result
- assert:
that:
- "result.changed == false"
- "result.stdout is defined"
- debug: msg="END cli/contains.yaml"