PY3: convert samba.tests.strings to Py2/Py3
authorNoel Power <noel.power@suse.com>
Sat, 4 Aug 2018 20:00:06 +0000 (21:00 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Oct 2018 03:50:26 +0000 (05:50 +0200)
commit8d7830b6fc1b0cfb2f1dd9e9315aff67dbef3c93
tree894b84abf37c4f30ed3aca831cb14beb76e5f948
parent23239727734bbc7f58dcba3d8e9f160849885276
PY3: convert samba.tests.strings to Py2/Py3

Previously the py2 api for strcasecmp_m/strstr_m required strings/unicode
 but couldn't actually handle unicode with anything other than the default
encoding (e.g. ascii). The c-api as been fixed and the encoding steps
(which were unnecessary and causing errors in PY3) have been removed
python/samba/tests/strings.py