[PATCH] pyldb: fix a bug in the unit test which prevented ldb.python to run all the tests in the testsuite

Matthieu Patou mat at matws.net
Wed Feb 9 00:18:02 MST 2011


---
 source4/lib/ldb/tests/python/api.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py
index 016ccc3..f675158 100755
--- a/source4/lib/ldb/tests/python/api.py
+++ b/source4/lib/ldb/tests/python/api.py
@@ -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):
-- 
1.7.1


--------------030404000806020408070508--


More information about the samba-technical mailing list