]> git.ipfire.org Git - thirdparty/samba.git/commit
ldb:test:api_search: improve attribute access tests
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 17 Aug 2024 08:18:02 +0000 (20:18 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 24 Sep 2024 09:14:38 +0000 (09:14 +0000)
commit69a00fd0d770c9fd3f45c5b43514c2acc8f927ce
tree5511f4c57321e6140d880cbdd3ea6f496f94b9c2
parentb08427d086ce3d4e9fd1bda9ed69cd367ee18904
ldb:test:api_search: improve attribute access tests

`list = res.msgs` tests nothing more than a bare `res.msgs`,
and we can instead assert that the result is a list.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/ldb/tests/python/api_search.py