ansible/test
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
..
ansible_test
integration copy - check for changes beyond first level of subdirectories (#58323) 2019-10-30 12:17:11 -04:00
legacy Fix obvious typos (#62821) 2019-10-18 12:56:55 +01:00
lib/ansible_test Fixes for validate-modules import handling. (#63932) 2019-10-30 09:48:21 -07:00
sanity BOTMETA support migrated_to (#63952) 2019-10-28 11:02:31 +00:00
units AWS module_utils: Clear out Sanity Test issues (#63991) 2019-10-28 09:21:40 +00:00
utils