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/lib/ansible_test/_data
Matt Clay c271fd0df2 [stable-2.9] Fixes for validate-modules import handling. (#63932)
* Fix validate-modules support for collections.

- Relative imports now work correctly.
- The collection loader is now used.
- Modules are invoked as `__main__`.

* Remove obsolete validate-modules code ignores.

* Handle sys.exit in validate-modules.

* Add check for AnsibleModule initialization.

* Remove `missing-module-utils-import` check.

This check does not support relative imports or collections.

Instead of trying to overhaul the test, we can rely on the `ansible-module-not-initialized` test instead.

* Fix badly named error codes with `c#` in the name.

The `#` conflicts with comments in the sanity test ignore files.

* Add changelog entries.
(cherry picked from commit e9f8a34dce)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
..
cli Prepare ansible-test for inclusion in setup.py (#60294) 5 years ago
completion [stable-2.9] Switch from RHEL 8.0 & 8.1b to 8.1 in CI. 5 years ago
injector Additional ansible-test path fixes. (#60300) 5 years ago
playbooks PowerShell - Added coverage collector (#59009) 5 years ago
pytest/plugins [stable-2.9] Fix ansible-test pytest plugin loading. (#62119) (#62120) 5 years ago
requirements [stable-2.9] Fix ansible-test collections requirements installation. (#62181) 5 years ago
sanity [stable-2.9] Fixes for validate-modules import handling. (#63932) 5 years ago
setup [stable-2.9] Work around ssh-keygen issue in ansible-test. (#63211) 5 years ago
ansible.cfg Update ansible-test integration config handling. (#60448) 5 years ago
coveragerc Move ansible-test coverage config to test/lib/ 5 years ago
inventory Update ansible-test collection inventory handling. (#61031) 5 years ago
pytest.ini
tox.ini
versions.py
virtualenvcheck.py [stable-2.9] Work around virtualenv/venv issue in ansible-test. (#62111) 5 years ago
yamlcheck.py