diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-04 13:17:25 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-04 13:52:09 +0200 |
commit | 6cd722d9507200a90b7c99dcb6749187aa757f87 (patch) | |
tree | 89225d522fc113742962c10110cdcd256beef4fa /lib/tdb/python | |
parent | 8cec67fe61b1e6e64cab968ee43be424a91e56cd (diff) | |
download | samba-6cd722d9507200a90b7c99dcb6749187aa757f87.tar.gz samba-6cd722d9507200a90b7c99dcb6749187aa757f87.tar.bz2 samba-6cd722d9507200a90b7c99dcb6749187aa757f87.zip |
pytdb: Add __version__ attribute.
Diffstat (limited to 'lib/tdb/python')
-rw-r--r-- | lib/tdb/python/tests/simple.py | 6 |
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() |