ansible/test/units/galaxy
Sloane Hertel 343ffaa18b
better error for "ansible-galaxy collection verify" if there's no MANIFEST.json (#67498)
* Add a better error for "ansible-galaxy verify" if the MANIFEST.json has been deleted from the installed collection or if the collection hasn't been installed via normal means

* Fix unit tests for the remote collection

If there's something wrong with the local collection's version it will fail before the remote collection is sought

* Add a test for the new error msg

* Prevent the duplicate warning

Mock the new isfile call where needed

* Update lib/ansible/galaxy/collection.py

Co-Authored-By: Martin Krizek <martin.krizek@gmail.com>

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
2020-05-14 12:25:19 -04:00
..
__init__.py Collection test (#59488) 2019-07-24 12:38:32 +10:00
test_api.py ansible-galaxy - optimise some paths and use fake galaxy int tests (#67685) 2020-02-29 08:59:09 +10:00
test_collection.py better error for "ansible-galaxy collection verify" if there's no MANIFEST.json (#67498) 2020-05-14 12:25:19 -04:00
test_collection_install.py galaxy - preserve mode properly on artifact (#68418) 2020-03-25 08:08:23 +10:00
test_token.py ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 2019-08-21 07:49:05 +10:00
test_user_agent.py ansible-galaxy - expand User-Agent string for Galaxy endpoints (#65578) 2019-12-06 10:34:14 +10:00