summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-05 00:36:21 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-05 00:38:35 +0200
commit5548d3d41e3db378802e614656d3f708a3edd214 (patch)
tree0cdbf921f456f3f80c13a127246fb168ceac8e18 /source4/lib/ldb/tests
parent6ea99a237d982827accd1e9befe133141083d9cb (diff)
downloadsamba-5548d3d41e3db378802e614656d3f708a3edd214.tar.gz
samba-5548d3d41e3db378802e614656d3f708a3edd214.tar.bz2
samba-5548d3d41e3db378802e614656d3f708a3edd214.zip
Add missing dependencies for com_err.
Diffstat (limited to 'source4/lib/ldb/tests')
-rwxr-xr-xsource4/lib/ldb/tests/python/api.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py
index 76de853ac7..b8adbaaf54 100755
--- a/source4/lib/ldb/tests/python/api.py
+++ b/source4/lib/ldb/tests/python/api.py
@@ -611,6 +611,12 @@ class ModuleTests(unittest.TestCase):
self.assertEquals(["init"], ops)
+class VersionTests(unittest.TestCase):
+
+ def test_version(self):
+ self.assertTrue(isinstance(ldb.__version__, str))
+
+
if __name__ == '__main__':
import unittest
unittest.TestProgram()