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/utils
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
5 years ago
..
collection_loader Clean up unit test boilerplate. 5 years ago
display Fix colorization to not extend across newline boundary (#68517) 5 years ago
__init__.py
test_cleanup_tmp_file.py Clean up unit test boilerplate. 5 years ago
test_context_objects.py
test_display.py Use libc wcwidth to calculate print width in display (#66214) 5 years ago
test_encrypt.py Clean up unit test boilerplate. 5 years ago
test_helpers.py Clean up unit test boilerplate. 5 years ago
test_isidentifier.py ansible.utils.vars.isidentifier improvements (#58278) 5 years ago
test_shlex.py Clean up unit test boilerplate. 5 years ago
test_unsafe_proxy.py
test_vars.py combine filter: fine list handling (option b) (#57894) 5 years ago
test_version.py Fix SemanticVersion comparison (#69395) 5 years ago