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
2020-06-22 16:57:01 -05:00
..
collection_loader Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
display Fix colorization to not extend across newline boundary (#68517) 2020-03-27 17:10:38 -07:00
__init__.py
test_cleanup_tmp_file.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_context_objects.py
test_display.py Use libc wcwidth to calculate print width in display (#66214) 2020-06-22 16:57:01 -05:00
test_encrypt.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_helpers.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_isidentifier.py ansible.utils.vars.isidentifier improvements (#58278) 2020-05-21 19:54:40 +02:00
test_shlex.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_unsafe_proxy.py Ensure that data within a tuple is marked as unsafe (#65918) 2020-01-07 08:41:37 -06:00
test_vars.py combine filter: fine list handling (option b) (#57894) 2020-02-12 16:40:36 -05:00
test_version.py Fix SemanticVersion comparison (#69395) 2020-05-11 11:58:15 -05:00