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/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>
4 years ago
..
__init__.py
test_api.py ansible-galaxy - optimise some paths and use fake galaxy int tests (#67685) 5 years ago
test_collection.py better error for "ansible-galaxy collection verify" if there's no MANIFEST.json (#67498) 4 years ago
test_collection_install.py galaxy - preserve mode properly on artifact (#68418) 5 years ago
test_token.py
test_user_agent.py ansible-galaxy - expand User-Agent string for Galaxy endpoints (#65578) 5 years ago