From df70a4a3b7886660dceab8ec9646ae449098851a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 23 Nov 2010 21:39:34 +0100 Subject: pyldb: Fix broken test. Autobuild-User: Jelmer Vernooij Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104 --- source4/lib/ldb/tests/python/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/tests/python') 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")) -- cgit