summaryrefslogtreecommitdiff
path: root/lib/tdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/python')
-rw-r--r--lib/tdb/python/tests/simple.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tdb/python/tests/simple.py b/lib/tdb/python/tests/simple.py
index 6386a2871f..f5484a0523 100644
--- a/lib/tdb/python/tests/simple.py
+++ b/lib/tdb/python/tests/simple.py
@@ -165,6 +165,12 @@ class SimpleTdbTests(TestCase):
self.tdb.remove_flags(tdb.NOMMAP)
+class VersionTests(TestCase):
+
+ def test_present(self):
+ self.assertTrue(isinstance(tdb.__version__, str))
+
+
if __name__ == '__main__':
import unittest
unittest.TestProgram()