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/parsing
Matt Davis 85283e7238 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>
(cherry picked from commit cbcefc53a3)
7 months ago
..
fixtures lib/ansible/parsing/ajson.py: added UNIT-tests (#56398) 7 years ago
utils Clean up TE error handling, wrap sigalrm handler (#85232) 7 months ago
vault DTFIX recategorization and error/warning refactor (#85181) 7 months ago
yaml Clean up TE error handling, wrap sigalrm handler (#85232) 7 months ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
test_ajson.py Templating overhaul, implement Data Tagging (#84621) 9 months ago
test_dataloader.py Templating overhaul, implement Data Tagging (#84621) 9 months ago
test_mod_args.py Templating overhaul, implement Data Tagging (#84621) 9 months ago
test_splitter.py Cover unit tests with mypy (#84084) 1 year ago
test_unquote.py Require `from __future__ import annotations` (#81902) 2 years ago