ansible/test/units
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
..
_vendor transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
ansible_test Remove Shippable CI provider from ansible-test. 2021-05-05 17:42:13 -07:00
cli Clarify CLI version number as core version (#72287) 2021-03-01 11:14:56 -06:00
compat
config Provide better decryption errors for single vault values (#72362) 2020-11-18 14:25:32 -06:00
errors Fix YAML error message when error is at the end of the file (#73241) 2021-01-19 10:07:36 -05:00
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 2021-03-19 12:09:18 -07:00
galaxy add --offline option to galaxy collection verify (#74040) 2021-03-29 09:47:15 -07:00
inventory Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
inventory_test_data/group_vars
mock only add data when there is data to add (#54559) 2021-02-11 10:07:20 -05:00
module_utils facts - set correct OS family for Rocky Linux (#74530) 2021-05-04 10:14:13 -04:00
modules async_wrapper more info on end (#74199) 2021-04-13 10:30:13 -04:00
parsing vault: Read stdin data as binary on python3 (#52229) 2020-12-09 09:46:32 +01:00
playbook [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
plugins pause - ensure control characters are always set appropriately (#74568) 2021-05-06 15:09:26 -04:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils defend against bad or missing crypt (#74304) 2021-04-20 11:47:34 -04:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
requirements.txt Remove unnecessary unit test requirements. 2020-03-23 11:14:21 -05:00
test_constants.py Remove some constants.py deprecated items (#70466) 2020-07-07 18:41:19 -05:00
test_context.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00