diff options
author | Noel Power <noel.power@suse.com> | 2018-11-12 17:42:51 +0000 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2019-01-13 00:40:26 +0100 |
commit | f8758b3b1f98476469501dd45a7c898950294e05 (patch) | |
tree | b84113ca14db910d4df446cc41594d38a2c4e8ba /selftest/tests.py | |
parent | b6c8ef5fb70c65c04c8269ff95e661e219968767 (diff) | |
download | samba-f8758b3b1f98476469501dd45a7c898950294e05.tar.gz |
lib/ldb/tests/python: Add test to pass utf8 encoded bytes to ldb.Dn
This test should demonstrate an error with the 'es' format in python
where a 'str' byte-string is passed (containing utf8 encoded bytes)
with some characters that cannot be decoded as ascii. The same
code if run in python3 should generate an error (needs string not
bytes)
Also Add knownfail for ldb.Dn passed utf8 encoded byte string
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'selftest/tests.py')
0 files changed, 0 insertions, 0 deletions