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 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
..
cli Use Templar for galaxy skeletons (#69106) 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix inline vaults for plugins in ensure_type (#67492) 5 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor Fix filedescriptor out of range in select() when running commands (#65058) 4 years ago
galaxy better error for "ansible-galaxy collection verify" if there's no MANIFEST.json (#67498) 4 years ago
inventory Clean up unit tests to assist with migration. (#67875) 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 Fix filedescriptor out of range in select() when running commands (#65058) 4 years ago
modules Flatten the directory hierarchy of modules (#68966) 4 years ago
parsing Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
playbook Make sure collection is a list if a str is given (#69081) 4 years ago
plugins Fix filedescriptor out of range in select() when running commands (#65058) 4 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 Fix SemanticVersion comparison (#69395) 4 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 Remove unnecessary unit test requirements. 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