summaryrefslogtreecommitdiffstats
path: root/lib/ldb/tests/python/api.py
Commit message (Collapse)AuthorAgeFilesLines
* pyldb: Add tests for type errorsPetr Viktorin2015-03-041-0/+42
| | | | | | | | | Signed-off-by: Petr Viktorin <pviktori@redhat.com> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Mar 4 01:49:02 CET 2015 on sn-devel-104
* lib-ldb-test: Test copying message element from a message to a new messageKamen Mazdrashki2014-11-251-0/+14
| | | | | | Change-Id: Iefcafb418a170ee410aec900bb36eb8e01e946b1 Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* pyldb: Add bindings for ldb_dn_remove_base_componentsAndrew Bartlett2012-07-061-0/+5
|
* pyldb: Fix dn concat operation to be the other way aroundAndrew Bartlett2012-07-061-1/+1
| | | | | | This now concatonates Dn(ldb, "cn=config") + Dn(ldb, "dc=samba,dc=org") as "cn=config,dc=samba,dc=org" Andrew Bartlett
* ldb:tests: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij2011-11-101-33/+37
| | | | than samba.tests.
* Revert "pyldb: fixed ldb API test"Jelmer Vernooij2011-11-101-36/+39
| | | | | | This reverts commit 333248f08c83cc5b18f8e7e84cb19d79a8309d6e. This commit made the pyldb tests depend on the Samba testsuite.
* pyldb: fixed ldb API testAndrew Tridgell2011-11-101-39/+36
| | | | it was failing previously, but the failure wasn't being noticed
* pyldb: added binary_encode() and binary_decode() methodsAndrew Tridgell2011-07-291-0/+4
| | | | | | | this gives access to RFC2254 encoding from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* pyldb: use dn.is_child_of() instead of dn.compare_base()Andrew Tridgell2011-07-211-5/+6
| | | | | | | | the compare_base() C API doesn't really fit well in python, as it returns 0 for true. Better to have a boolean function for the python interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pyldb: add unit test for ldbDn.compare_baseMatthieu Patou2011-07-211-0/+11
|
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-051-0/+748
Signed-off-by: Andrew Tridgell <tridge@samba.org>