]> git.ipfire.org Git - thirdparty/samba.git/commit
pytest:dsdb_dn: expand and rework tests
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 26 Jun 2025 04:17:14 +0000 (16:17 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 7 Aug 2025 23:28:33 +0000 (23:28 +0000)
commit1109a9d6d70048039272be4df84cf6b89237cd4f
tree6e0eaae2ab7f9f1bbb119702aa22001dbe9d166b
parenta45214e41399011f19eee409db15ab2b5baacbce
pytest:dsdb_dn: expand and rework tests

We now test the specialised StringDn and BinaryDn types.

There are new assertions about case-insensitivity in binary hex
strings and BinaryDn prefix validation.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
python/samba/tests/dsdb_dn.py