diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2016-01-13 13:59:52 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-06-27 16:51:18 +0100 |
commit | 1fd12690870e85e8ac83b0e99bb272ce4489dc60 (patch) | |
tree | cfd928e419b87e9cc89cbb4185070db44408191c /tests/utilities_tests.py | |
parent | b523592d69b4eebd23a83a06ff3df7d906ddd95f (diff) | |
download | sos-1fd12690870e85e8ac83b0e99bb272ce4489dc60.tar.gz |
[reporting] deal with UTF-8 characters
replace str class functions by unicode variants:
1) "\n".join(buf) needs to pass decoded UTF-8 text
2) uniform python2 and python3 str/unicode type
3) fd.write needs to replace str(..) by some other function name
4) fd.write needs to encode UTF-8
5) update tests/report_tests.py like 2)
Resolves: #722, #723.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'tests/utilities_tests.py')
0 files changed, 0 insertions, 0 deletions