summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/python/tests/simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/python/tests/simple.py')
-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()