summaryrefslogtreecommitdiffstats
path: root/hacking/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* PEP 8 indent cleanup. (#20800)Matt Clay2017-01-291-17/+17
| | | | | | | | * PEP 8 E121 cleanup. * PEP 8 E126 cleanup. * PEP 8 E122 cleanup.
* gen_distribution_version_testcase.py should fail if ansible run fails (#17693)cinerama702016-09-271-1/+10
| | | | | | Currently, "ansible localhost -m setup" can fail silently during the run of gen_distribution_version_testcase.py, resulting in incorrect output. Use check_output() rather than communicate() and handle the exception if we get a nonzero return value.
* Add os_family to test_distribution_version (#17620)cinerama702016-09-171-1/+1
| | | | | | | | | | | As suggested in feedback on https://github.com/ansible/ansible/pull/17575, add os_family to test_distribution_version. Add the correct os_family to the existing testcase data entries. Also add os_family to the output of gen_distribution_version_testcase.py so any new generated entries will contain this data.
* Dist version fix for Red Hat and more tests (#15663)Robin Roth2016-04-291-2/+5
| | | | | | | | | | | | * add tests for centos6, rhel6 and rhel7 * gen_distribution_version_testcase with python2.6 * remove unused imports * fix redhat/vmware/... parsing * add centos7 test case
* move gen_testcase to hacking/testsRobin Roth2016-04-151-0/+65
* also use json instead of pprint