You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test
Ricardo Carrillo Cruz 32b4342209 Cherry pick 2.4 eos banner fixes (#26904)
* Fix multiple EOS EAPI code and test issues (#26651)

(cherry picked from commit b81209c187)

* Fix eos_banner basic-motd eapi asserts (#23398)

The commands in EAPI does not contain the plain command sent to the
device as a one liner, but it is split in cmd/input keys.
(cherry picked from commit ce9826d76e)

* Add CHANGELOG entry
7 years ago
..
compile Use lint friendly output for python syntax checks. (#22390) 8 years ago
integration Cherry pick 2.4 eos banner fixes (#26904) 7 years ago
results Create bot friendly sanity output. (#22381) 8 years ago
runner Limit yamllint version on python 2.6. 8 years ago
sanity Update docs based on 23946 (#25860) 8 years ago
units Cherry pick 2.4 eos banner fixes (#26904) 7 years ago
utils Use Shippable image: drydock/u16pytall:master 8 years ago
README.md Switch tests to pytest and ansible-test. 8 years ago

README.md

Ansible Test System

Folders

units

Unit tests that test small pieces of code not suited for the integration test layer, usually very API based, and should leverage mock interfaces rather than producing side effects.

Playbook engine code is better suited for integration tests.

Requirements: sudo pip install paramiko PyYAML jinja2 httplib2 passlib nose pytest mock

integration

Integration test layer, constructed using playbooks.

Some tests may require cloud credentials, others will not, and destructive tests are separated from non-destructive so a subset can be run on development machines.

learn more

hop into a subdirectory and see the associated README.md for more info.