summaryrefslogtreecommitdiff
path: root/python/samba/tests/strings.py
AgeCommit message (Collapse)AuthorFilesLines
2018-10-25python tests: always use Python's unicodedataDouglas Bagnall1-8/+4
We had our own special version with very few entries, but only used it in one place. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
2018-10-23PY3: convert samba.tests.strings to Py2/Py3Noel Power1-10/+8
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
2018-08-24PEP8: fix E302: expected 2 blank lines, found 1Joe Guo1-0/+2
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-08-24PEP8: fix E226: missing whitespace around arithmetic operatorJoe Guo1-4/+4
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2013-03-02Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij1-0/+103
Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104