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/errors
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>
6 months ago
..
fixtures Templating overhaul, implement Data Tagging (#84621) 8 months ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
test_errors.py Clean up TE error handling, wrap sigalrm handler (#85232) 6 months ago
test_handler.py normalize error handler choices (#84998) 8 months ago
test_utils.py Clean up TE error handling, wrap sigalrm handler (#85232) 6 months ago