diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-05-20 08:27:08 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-05-20 08:27:08 +1000 |
commit | 28b2fa86239b96eae73cd9199ae678391f6d4012 (patch) | |
tree | 24916fd790f60d579af71d7b5b63134ddb45b7db /source4/lib/tdb/python | |
parent | 868c45102d98f4207e614d79af2f37dbb0418203 (diff) | |
parent | 1b4b8d5e78e553c759c16c1605b610498fddf77b (diff) | |
download | samba-28b2fa86239b96eae73cd9199ae678391f6d4012.tar.gz samba-28b2fa86239b96eae73cd9199ae678391f6d4012.tar.bz2 samba-28b2fa86239b96eae73cd9199ae678391f6d4012.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)
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() |