ansible/test
Lumír 'Frenzy' Balhar 0db1c77041 Fix AST nodes for Python 3 and enable dependent test_uri (#18597)
* Enable tests on python 3 for uri

* Added one more node type to SAFE_NODES into safe_eval module.

ast.USub represents unary operators. This is necessary for
parsing some unusual but still valid JSON files during testing
with Python 3.

(cherry picked from commit 84544ee8fd)
2016-12-13 07:38:07 -08:00
..
code-smell Add a whitelist for checking for six. Use it for digital_ocean.py 2016-10-06 11:00:26 -07:00
integration Corrected placement templates for test_lookups. 2016-11-29 15:16:38 -08:00
samples Changes to be committed: (#16430) 2016-06-24 10:26:51 -04:00
sanity/validate-modules Port validate-modules to stable-2.2 (#18119) 2016-10-20 18:22:58 +01:00
units make hash_params more robust in the face of many corner cases (#18701) 2016-12-05 04:02:21 -08:00
utils Fix AST nodes for Python 3 and enable dependent test_uri (#18597) 2016-12-13 07:38:07 -08:00
README.md Update README.md 2015-11-03 14:11:22 -05:00

Ansible Test System

Folders

unit

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 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.