ansible/test/units/cli
s-hertel 65815c3875 Refactoring Galaxy unit tests for uniformity (#20828)
* Making tests more uniform

Removing unnecessary GalaxyCLI arguments/patching of the command line since parsing of the CLI args has been modified.

Run GalaxyCLI.parse() without saving the returned value to be uniform with the rest of the code.

Fix test_execute_remove to use the correct path

Use GalaxyCLI.run() instead of super(GalaxyCLI, gc).run() and GalaxyCLI.api = ansible.galaxy.api.GalaxyAPI(gc.galaxy).

* Refactor so one unit test checks one thing instead of multiple.

Improve readability by using a dict instead of lots of elifs

* Removing import used for debugging

* Fixing PEP 8 issues.

* Fix PEP 8 issues
2017-02-08 16:35:06 -05:00
..
__init__.py
test_console.py Fix error on 'help module' in ansible-console (#19390) 2016-12-20 15:50:29 -05:00
test_galaxy.py Refactoring Galaxy unit tests for uniformity (#20828) 2017-02-08 16:35:06 -05:00
test_playbook.py Fix errors on 'ansible-playbook --flush-cache' (#18754) 2016-12-13 14:35:15 -05:00