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/plugins/action
Sam Doran d10195631e
[stable-2.11] pause - ensure control characters are always set appropriately (#74568) (#74600)
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
(cherry picked from commit 55b401a3e7)

Co-authored-by: Sam Doran <sdoran@redhat.com>
4 years ago
..
__init__.py
test_action.py Allow macOS ACLs to work for unpriv -> unpriv (#70785) 4 years ago
test_gather_facts.py fix internal cases of actions calling unqualified module names (#70818) 4 years ago
test_pause.py [stable-2.11] pause - ensure control characters are always set appropriately (#74568) (#74600) 4 years ago
test_raw.py make test_raw use setUp instead of global definitions 5 years ago