summaryrefslogtreecommitdiff
path: root/lib/ldb/tests/python/api_misc.py
AgeCommit message (Collapse)AuthorFilesLines
2024-09-24ldb:tests:api_misc: fix Control testDouglas Bagnall1-1/+1
`self.assertRaises(TypeError, ldb.Control, ldb, 1234)` is raising a TypeError because `ldb` is not an ldb.Ldb object, it is the ldb module. What we want to test here is that the non-string `1234` raises a TypeError -- the previous line tests the type of the ldb argument. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
2024-09-24ldb:tests: move api.py to api_miscDouglas Bagnall1-0/+1047
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>