diff options
Diffstat (limited to 'source4/lib/ldb')
-rwxr-xr-x | source4/lib/ldb/tests/python/api.py | 2 | ||||
-rw-r--r-- | source4/lib/ldb/wscript | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py index 31d1319631..d9c9023b93 100755 --- a/source4/lib/ldb/tests/python/api.py +++ b/source4/lib/ldb/tests/python/api.py @@ -220,7 +220,7 @@ class SimpleLdb(unittest.TestCase): l.modify(m) rm = l.search(m.dn)[0] self.assertEquals(1, len(rm)) - rm = l.search(m.dn, attrs=["bla"])[0] + rm = l.search(m.dn, attrs=["bla"]) self.assertEquals(0, len(rm)) finally: l.delete(ldb.Dn(l, "dc=modifydelete")) diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 4e6fc34d64..c98f20dde1 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -229,6 +229,7 @@ def test(ctx): cmd = 'tests/test-tdb.sh' ret = samba_utils.RUN_COMMAND(cmd) print("testsuite returned %d" % ret) + # FIXME: Run python testsuite sys.exit(ret) def dist(): |