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/_internal
Sloane Hertel 2769f5621b
Add find_spec and exec_module to RestrictedModuleLoader (#76427)
* Add find_spec and exec_module to RestrictedModuleLoader

* Fix getting new loader with correct path

Fix pep8 errors

* Use convert_ansible_name_to_absolute_paths instead of the loader path

* Apply suggestions from code review

* Fix type hints and test them in CI

* Fix error message for ansible.module_utils.basic if it's missing

Add mypy ignored missing imports for controller sanity tests

* Add mypy attr-defined ignore entries for python 3.8, 3.9, 3.10 for vendored six

Add mypy attr-defined ignore for python 2.7 in lib/ansible/utils/collection_loader/_collection_finder.py

* Just test controller python versions to simplify ignoring mypy errors
3 years ago
..
ci ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
classification ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
cli ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
commands Add find_spec and exec_module to RestrictedModuleLoader (#76427) 3 years ago
compat ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
provider ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
__init__.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
ansible_util.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
become.py ansible-test - split controller/target testing (#75605) 3 years ago
bootstrap.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
cache.py ansible-test - split controller/target testing (#75605) 3 years ago
completion.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
config.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
connections.py ansible-test - Remove AIX provisioning support. (#76747) 3 years ago
constants.py Modernize install (#76021) 3 years ago
containers.py Support podman-remote in ansible-test (#75753) 3 years ago
content_config.py ansible-test - split controller/target testing (#75605) 3 years ago
core_ci.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
coverage_util.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
data.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
delegation.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
diff.py ansible-test - More PEP 484 type hints. 3 years ago
docker_util.py docker_util: Handle error in JSON parsing (#77298) 3 years ago
encoding.py ansible-test - split controller/target testing (#75605) 3 years ago
executor.py ansible-test - split controller/target testing (#75605) 3 years ago
git.py ansible-test - More PEP 484 type hints. 3 years ago
host_configs.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
host_profiles.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
http.py ansible-test - More PEP 484 type hints. 3 years ago
init.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
inventory.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
io.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
junit_xml.py ansible-test - split controller/target testing (#75605) 3 years ago
metadata.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
payload.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
provisioning.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
pypi_proxy.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
python_requirements.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
ssh.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
target.py ansible-test - Fix type hints. 3 years ago
test.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
thread.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
timeout.py ansible-test - split controller/target testing (#75605) 3 years ago
util.py Support podman-remote in ansible-test (#75753) 3 years ago
util_common.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
venv.py ansible-test - Code cleanup and refactoring. (#77169) 3 years ago