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
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
..
_vendor transparent downstream vendoring (#69850) 5 years ago
ansible_test [ansible-test] attempt to work around podman (#72096) 4 years ago
cli Clarify CLI version number as core version (#72287) 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Provide better decryption errors for single vault values (#72362) 4 years ago
errors Fix YAML error message when error is at the end of the file (#73241) 4 years ago
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 4 years ago
galaxy ansible-galaxy - increase page size and add retry decorator for throttling (#74240) (#74648) 4 years ago
inventory Clean up unit test boilerplate. 4 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock only add data when there is data to add (#54559) 4 years ago
module_utils ansible-galaxy - increase page size and add retry decorator for throttling (#74240) (#74648) 4 years ago
modules Fix comment in iptables unit test (#74061) 4 years ago
parsing vault: Read stdin data as binary on python3 (#52229) 4 years ago
playbook Add implicit role_complete block instead of role._eor (#72208) 4 years ago
plugins [stable-2.11] pause - ensure control characters are always set appropriately (#74568) (#74600) 4 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils Fixed/improved regular expresssion for collection names (#73577) 4 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Remove unnecessary unit test requirements. 5 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 4 years ago
test_context.py Clean up unit test boilerplate. 4 years ago