summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/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/ldb/tests/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/ldb/tests/python')
-rwxr-xr-xsource4/lib/ldb/tests/python/api.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py
index d5346c30b0..5f3f727b5d 100755
--- a/source4/lib/ldb/tests/python/api.py
+++ b/source4/lib/ldb/tests/python/api.py
@@ -418,3 +418,6 @@ class ModuleTests(unittest.TestCase):
def test_register_module(self):
ldb.register_module(ExampleModule())
+if __name__ == '__main__':
+ import unittest
+ unittest.TestProgram()