summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-11-23 21:39:34 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-11-23 23:20:38 +0100
commitdf70a4a3b7886660dceab8ec9646ae449098851a (patch)
tree3f61569931db8438fb2199db0258da05cf881f11 /source4/lib/ldb/tests/python
parent90aa16122ec8c2332011e0a25ede7df7b0850a1e (diff)
downloadsamba-df70a4a3b7886660dceab8ec9646ae449098851a.tar.gz
samba-df70a4a3b7886660dceab8ec9646ae449098851a.tar.bz2
samba-df70a4a3b7886660dceab8ec9646ae449098851a.zip
pyldb: Fix broken test.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/lib/ldb/tests/python')
-rwxr-xr-xsource4/lib/ldb/tests/python/api.py2
1 files changed, 1 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"))