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
Sviatoslav Sydorenko 12097c81b9
Fix pytest collection during test_host partial run (#78595)
Sometimes pytest errors out with an `ImportError` during its tests
collection stage when a Python package/directory containing the test
module does not have an `__init__.py` in it. This is being observed
under Python 3.9 and higher.

The patch provides a workaround for this problem but does not address
the root cause which is currently unknown.

Ref:
https://github.com/ansible/ansible/pull/78585#issuecomment-1220885431
(cherry picked from commit beb70daf14)
3 years ago
..
_vendor Another unit test fix for Python 3.10. (#74628) 5 years ago
ansible_test [stable-2.12] Avoid deprecated method in unit tests. 4 years ago
cli ansible-cli: Remove unnessary trailing space (#74880) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
config Provide better decryption errors for single vault values (#72362) 5 years ago
errors Fix YAML error message when error is at the end of the file (#73241) 5 years ago
executor Replace get_persistent_connection_options in task_executor with get_options (#74446) (#78591) 3 years ago
galaxy [stable-2.12] Fix KeyError for ansible-galaxy when caching paginated responses from v3 (#78325) (#78406) 4 years ago
inventory Fix pytest collection during test_host partial run (#78595) 3 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Clean up unit tests to prepare for pylint update. (#75473) 4 years ago
module_utils [stable-2.12] arg_spec - Return aliases in validation result and update aliases (#77576) (#77602) 4 years ago
modules unarchive: fix io_buffer_size option, remove ignore.txt entry (#77271) (#77311) 4 years ago
parsing [stable-2.12] Fix warning in unit tests for _yaml import. 4 years ago
playbook play - validate hosts entries (#74147) 5 years ago
plugins winrm - ensure callers PATH for kinit is set (#77401) (#77403) 4 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 7 years ago
template Prevent losing unsafe from lookups (#77609) (#77651) 4 years ago
utils use passlib default if `password_hash` option isn't set (#75043) 4 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
requirements.txt ansible-test - split controller/target testing (#75605) 4 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 6 years ago
test_context.py Clean up unit test boilerplate. 6 years ago