summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-02-09 10:18:02 +0300
committerMatthieu Patou <mat@samba.org>2011-02-13 00:14:24 +0100
commita7301556d29ce7c2e637380da00a2ee640234fcc (patch)
treecad2aa324a9cb207872fc9eb630d1d09e31c2ae1 /source4/lib
parentf8a156dbe649177b9672d364908ef3355508c690 (diff)
downloadsamba-a7301556d29ce7c2e637380da00a2ee640234fcc.tar.gz
samba-a7301556d29ce7c2e637380da00a2ee640234fcc.tar.bz2
samba-a7301556d29ce7c2e637380da00a2ee640234fcc.zip
pyldb: fix a bug in the unit test which prevented ldb.python to run all the tests in the testsuite
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 00:14:24 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/lib')
-rwxr-xr-xsource4/lib/ldb/tests/python/api.py3
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 016ccc3955..f67515881b 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):