cleanup tests

* use nose test generator
* more comments
* move facts import inside the skipped function, fix python3 warning
This commit is contained in:
Robin Roth 2016-04-14 19:44:06 +02:00 committed by Robin Roth
parent 2b104fe6ad
commit 37188ea336
3 changed files with 302 additions and 233 deletions

View file

@ -3,7 +3,7 @@
"""
This script generated test_cases for test_distribution_version.py.
To do so it outputs the relevant files from /etc/*release, the ouput of platform.dist() and the current ansible_facts regarding the distribution version.
To do so it outputs the relevant files from /etc/*release, the output of platform.dist() and the current ansible_facts regarding the distribution version.
This assumes a working ansible version in the path.
"""