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
Sloane Hertel 97f011cf94
Add verify subcommand to 'ansible-galaxy collection' (#65618)
* [WIP] Add verify subcommand command to 'ansible-galaxy collection'

* Fix pep8 and use consistent display order

* WIP - docs

* Remove some redundancy in verify display messages by using an error queue for each collection

* Share common code and improve output format

* clean up documentation

* typo

* Apply suggestions from code review

Co-Authored-By: Sandra McCann <samccann@redhat.com>

* Move ModifiedContent namedtuple to the global scope

Add a public metadata property

Rename function to _get_json_from_tar_file

* Add some unit tests

* fix using common functions after rebase

* changelog

* Improve efficiency finding specific installed collections

Improve efficiency by only downloading the tar.gz from the galaxy server for comparison after checking that the collection has been installed

Handle multiple collection paths

Fix up tests

* pep8

* reword that for accuracy

* use more common code and verify collection name

* Improve error message and add documentation

* Update unit tests and add coverage for both local and remote collections that are unable to be located

* Only validate collections using the format collection_namespace.collection_name

Fix tests to reflect that

Fix documentation

* Fix a bug when a local collection does not contain a file

* pep8

* Fix formatting

Co-authored-by: Sandra McCann <samccann@redhat.com>
5 years ago
..
cli Fix using a URL for galaxy collection install (#65272) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config config manager str type vault source (#65023) 5 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor Try to load action plugin from the same collection as the module (#66701) 5 years ago
galaxy Add verify subcommand to 'ansible-galaxy collection' (#65618) 5 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
module_utils CloudRetry/AWSRetry : Disable catching of NotFound exceptions (#67281) 5 years ago
modules Fix to - eos_vlans using state parameter replaced is giving odd behavior (#67318) 5 years ago
parsing Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
playbook Check if task file is specified for import_tasks (#57572) 5 years ago
plugins Fix UNC path support in the powershell shell plugin (#66604) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils combine filter: fine list handling (option b) (#57894) 5 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Fix ansible-test collections requirements installation. (#62181) 5 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago