ansible/test/units/plugins/action
Sam Doran 55b401a3e7
pause - ensure control characters are always set appropriately (#74568)
* pause - ensure control characters are always set appropriately

On some systems, curses.tigetstr() returns None, which does not work as a control character.

* Add unit tests

* Sort imports

* Skip on older Python

This is an action plugin and only runs on the controller, so no need to test of Python 2. Making
the import hackery work on Python 2 would required some more work which I am not sure is
worth it since we are moving away from Python 2 support on the controller.

* Make the tests work on Python 2 and 3
2021-05-06 15:09:26 -04:00
..
__init__.py
test_action.py [become] Add Solaris chmod ACL fallback 2021-04-19 20:28:57 -05:00
test_gather_facts.py fix internal cases of actions calling unqualified module names (#70818) 2020-07-23 09:02:57 -07:00
test_pause.py pause - ensure control characters are always set appropriately (#74568) 2021-05-06 15:09:26 -04:00
test_raw.py make test_raw use setUp instead of global definitions 2020-03-06 09:34:21 -08:00