summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-12 01:21:10 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-12 01:21:10 +0100
commit1529331b97cc67869f07c2cfa8c73616f3247b73 (patch)
treeb7ddf59c80d04e7a70255354b332958ea9205fb8 /source4/lib/tdb/python
parentaa2fd8ee50d8e416a503fb920f0195cd89c4c93b (diff)
downloadsamba-1529331b97cc67869f07c2cfa8c73616f3247b73.tar.gz
samba-1529331b97cc67869f07c2cfa8c73616f3247b73.tar.bz2
samba-1529331b97cc67869f07c2cfa8c73616f3247b73.zip
Avoid using setup.py for intsallation.
(This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
Diffstat (limited to 'source4/lib/tdb/python')
-rw-r--r--source4/lib/tdb/python/tests/simple.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/tdb/python/tests/simple.py b/source4/lib/tdb/python/tests/simple.py
index 1cc51aea07..94407b6398 100644
--- a/source4/lib/tdb/python/tests/simple.py
+++ b/source4/lib/tdb/python/tests/simple.py
@@ -142,3 +142,8 @@ class SimpleTdbTests(TestCase):
self.assertEquals(0, len(self.tdb))
self.tdb["entry"] = "value"
self.assertEquals(1, len(self.tdb))
+
+
+if __name__ == '__main__':
+ import unittest
+ unittest.TestProgram()