ansible/test/lib/ansible_test/_internal
Matt Clay e9f8a34dce
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.
2019-10-30 09:48:21 -07:00
..
cloud prepare_vmware_tests: use module_defaults (#63209) 2019-10-11 19:46:54 +05:30
integration Fix ansible-test integration temp dir location. 2019-10-07 13:12:59 -07:00
provider Add missing var for format string in ansible-test. 2019-10-07 13:10:42 -07:00
sanity Fixes for validate-modules import handling. (#63932) 2019-10-30 09:48:21 -07:00
units Fix ansible-test pytest plugin loading. (#62119) 2019-09-10 23:27:05 -07:00
__init__.py
ansible_util.py Fix ansible-test PYTHONPATH handling. 2019-09-26 14:02:19 -04:00
cache.py
changes.py
classification.py Fix ansible-test collections requirements installation. (#62181) 2019-09-12 02:00:33 -07:00
cli.py Redact sensitive values by default in ansible-test 2019-09-17 08:09:17 -07:00
config.py Add a --venv option to ansible-test. (#61422) 2019-08-28 09:10:17 -07:00
constants.py
core_ci.py Work around ssh-keygen issue in ansible-test. (#63211) 2019-10-07 14:36:05 -07:00
cover.py Fix ansible-test integration temp dir location. 2019-10-07 13:12:59 -07:00
coverage_util.py Properly exclude tests/output/ from code coverage. 2019-09-10 15:50:22 -07:00
csharp_import_analysis.py Change collection PS util import pattern (#61307) 2019-08-27 16:02:27 -07:00
data.py More ansible-test path handling updates. (#61484) 2019-08-28 15:13:00 -07:00
delegation.py Exclude tmp dir from ansible-test results copy. 2019-09-30 18:18:37 -04:00
diff.py
docker_util.py
env.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
executor.py fix default collection resolution in adhoc (#63298) 2019-10-10 12:42:03 -07:00
git.py ansible-test - Continue if the git command returns an error (#61605) 2019-08-30 12:03:39 -07:00
http.py
import_analysis.py More ansible-test path handling updates. (#61484) 2019-08-28 15:13:00 -07:00
init.py
manage_ci.py
metadata.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
payload.py Support delegation testing collections with deps. 2019-08-27 07:29:42 -07:00
powershell_import_analysis.py Change collection PS util import pattern (#61307) 2019-08-27 16:02:27 -07:00
target.py Update collections integration targets path. (#61523) 2019-08-29 03:39:03 -07:00
test.py Fix display of sanity test doc links. 2019-09-13 22:24:14 -07:00
thread.py
types.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
util.py Redact sensitive values by default in ansible-test 2019-09-17 08:09:17 -07:00
util_common.py Fix ansible-test env var mixing running commands. 2019-10-17 17:40:34 -07:00
venv.py Fix ansible-test virtualenv real python search. 2019-10-03 17:12:33 -07:00