ansible/test/units/mock
Matt Davis cbcefc53a3
Clean up TE error handling, wrap sigalrm handler (#85232)
* Clean up TE error handling, wrap sigalrm handler

* Preserve error detail on AnsibleAction and Connection exceptions.
* Remove multiple layers of unreachable or redundant error handling.
* Wrap manual alarm signal/timeout handling into a context manager, add tests.

Co-authored-by: Matt Clay <matt@mystile.com>

* update error message check in test

* update test timeout message assertions

---------

Co-authored-by: Matt Clay <matt@mystile.com>
2025-05-30 10:45:10 -07:00
..
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
custom_types.py Templating overhaul, implement Data Tagging (#84621) 2025-04-14 08:54:36 -07:00
error_helper.py Clean up TE error handling, wrap sigalrm handler (#85232) 2025-05-30 10:45:10 -07:00
loader.py Templating overhaul, implement Data Tagging (#84621) 2025-04-14 08:54:36 -07:00
module.py Templating overhaul, implement Data Tagging (#84621) 2025-04-14 08:54:36 -07:00
path.py Require from __future__ import annotations (#81902) 2023-10-04 22:11:17 +00:00
vault_helper.py fix ensure_type to support vaulted values (#85129) 2025-05-10 05:05:56 +00:00
yaml_helper.py Require from __future__ import annotations (#81902) 2023-10-04 22:11:17 +00:00