s4/dsdb/tests: PY3 port samba4.ldap.passwordsettings test
commit55a381716677adbd4f526769b77d9840b87a4e99
authorNoel Power <noel.power@suse.com>
Mon, 5 Nov 2018 21:03:39 +0000 (5 21:03 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:21 +0000 (10 10:38 +0100)
tree7e70b74efdefc5800ee43839853e9d92c8d50b04
parentac7baa6e92d46bf2b8734d25db49dc28e1bfd2c9
s4/dsdb/tests: PY3 port samba4.ldap.passwordsettings test

* Fix various assertEquals comparing ldb.bytes with string
  when running with PY3
* Fix a couple of tuple assignments to exception (not supported
  in PY3)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/passwords.py