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/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
9 years ago
..
__init__.py galaxy info displayed 'galaxy_info' section wrong 10 years ago
test_console.py Fix error on 'help module' in ansible-console (#19390) 9 years ago
test_galaxy.py Refactoring Galaxy unit tests for uniformity (#20828) 9 years ago
test_playbook.py Fix errors on 'ansible-playbook --flush-cache' (#18754) 9 years ago