From 5548d3d41e3db378802e614656d3f708a3edd214 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 5 Oct 2010 00:36:21 +0200 Subject: Add missing dependencies for com_err. --- source4/lib/ldb/tests/python/api.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/lib/ldb/tests/python') 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() -- cgit