diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-20 11:37:23 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-20 11:37:23 +1000 |
commit | 9551d4027dd9bbdfa1fcb4a5a117792811ec7f29 (patch) | |
tree | cfb05907f4e142ec997d745e4e251b4a0a5ec953 /source4/lib/tdb/python | |
parent | e7d993b8b26e121ff37640825b4d2f2c4d6332bf (diff) | |
parent | e533e7a7ebc8b3029cf604e63cdc6d1cf8570ccd (diff) | |
download | samba-9551d4027dd9bbdfa1fcb4a5a117792811ec7f29.tar.gz samba-9551d4027dd9bbdfa1fcb4a5a117792811ec7f29.tar.bz2 samba-9551d4027dd9bbdfa1fcb4a5a117792811ec7f29.zip |
Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)
Diffstat (limited to 'source4/lib/tdb/python')
-rw-r--r-- | source4/lib/tdb/python/tests/simple.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/lib/tdb/python/tests/simple.py b/source4/lib/tdb/python/tests/simple.py index 94407b6398..7147718c91 100644 --- a/source4/lib/tdb/python/tests/simple.py +++ b/source4/lib/tdb/python/tests/simple.py @@ -3,8 +3,8 @@ # Note that this tests the interface of the Python bindings # It does not test tdb itself. # -# Copyright (C) 2007 Jelmer Vernooij <jelmer@samba.org> -# Published under the GNU LGPL +# Copyright (C) 2007-2008 Jelmer Vernooij <jelmer@samba.org> +# Published under the GNU LGPLv3 or later import tdb from unittest import TestCase @@ -25,6 +25,9 @@ class SimpleTdbTests(TestCase): def tearDown(self): del self.tdb + def test_repr(self): + self.assertTrue(repr(self.tdb).startswith("Tdb('")) + def test_lockall(self): self.tdb.lock_all() |