ansible/test
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>
2020-02-14 08:57:04 -06:00
..
ansible_test
integration Explicitly chose an AZ for cloudformation and ec2_vol tests (#67425) 2020-02-14 09:39:59 -05:00
legacy Use context manager for file handling in misc files. (#65372) 2019-12-21 13:01:38 +01:00
lib/ansible_test Test: Bump TOWER_VERSION to supported version (#67378) 2020-02-13 10:13:05 -08:00
sanity win_package - Refactor with msp, appx support (#66931) 2020-02-13 16:44:19 +10:00
units Add verify subcommand to 'ansible-galaxy collection' (#65618) 2020-02-14 08:57:04 -06:00
utils Improve sanity test handling in CI after migration. 2020-02-07 21:29:39 -08:00