pyldb: fix a bug in the unit test which prevented ldb.python to run all the tests...
authorMatthieu Patou <mat@matws.net>
Wed, 9 Feb 2011 07:18:02 +0000 (10:18 +0300)
committerMatthieu Patou <mat@samba.org>
Sat, 12 Feb 2011 23:14:24 +0000 (00:14 +0100)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Feb 13 00:14:24 CET 2011 on sn-devel-104

source4/lib/ldb/tests/python/api.py

index 016ccc3955768baaffad6ef6ea4aaed457691d5f..f67515881bd42cf0657c7f47495f103305775831 100755 (executable)
@@ -631,6 +631,9 @@ class ModuleTests(unittest.TestCase):
             def search(self, *args, **kwargs):
                 return self.next.search(*args, **kwargs)
 
+        def request(self, *args, **kwargs):
+            pass
+
         name = filename()
         ldb.register_module(ExampleModule)
         if os.path.exists(name):