[SCM] Samba Shared Repository - branch master updated

Jelmer Vernooij jelmer at samba.org
Tue Nov 23 15:21:01 MST 2010


The branch, master has been updated
       via  df70a4a pyldb: Fix broken test.
      from  90aa161 Make log level of the server configurable in make test

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit df70a4a3b7886660dceab8ec9646ae449098851a
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Nov 23 21:39:34 2010 +0100

    pyldb: Fix broken test.
    
    Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source4/lib/ldb/tests/python/api.py |    2 +-
 source4/lib/ldb/wscript             |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py
index 31d1319..d9c9023 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 4e6fc34..c98f20d 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():


-- 
Samba Shared Repository


More information about the samba-cvs mailing list