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
Matt Martz 1fedb95e4b
Use libc wcwidth to calculate print width in display (#66214)
* Use libc wcwidth to calculate print width in display. Fixes #63105

* Remove errantly added blank lines

* Fixes

* Move setlocale, adjust tests to work around py2 oddity with characters following null

* Don't change cli stub

* emojis

* Remove to_text call

* Special accounting for deletions

* Add initialization function, expand tests, ensure fallback to len

* get_text_width requires text, ensure banner deals with it

* Handle setlocale errors

* Move variable decrement

* Remove unused import
4 years ago
..
_vendor transparent downstream vendoring (#69850) 4 years ago
ansible_test Add Azure Pipelines support to ansible-test. 4 years ago
cli ansible-galaxy - fix collection installation with trailing slashes (#70016) 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Clean up unit test boilerplate. 4 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor Avoid unnecessary comprehensions. 4 years ago
galaxy galaxy - preserve symlinks on build/install (#69959) 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 9 years ago
mock Clean up unit test boilerplate. 4 years ago
module_utils Clean up unit test boilerplate. 4 years ago
modules Clean up unit test boilerplate. 4 years ago
parsing Clean up unit test boilerplate. 4 years ago
playbook Clean up unit test boilerplate. 4 years ago
plugins Clean up unit test boilerplate. 4 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 5 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils Use libc wcwidth to calculate print width in display (#66214) 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. 4 years ago
test_constants.py Clean up unit test boilerplate. 4 years ago
test_context.py Clean up unit test boilerplate. 4 years ago