[test] more standalone test
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 21 Feb 2012 16:53:34 +0100
changeset 8270 38648b051199
parent 8268 c9babe49c1c1
child 8271 3bd9b317b1d8
[test] more standalone test add a __main__ section to `etwist/test/unittest_server.py`
etwist/test/unittest_server.py
--- a/etwist/test/unittest_server.py	Mon Feb 27 10:11:04 2012 +0100
+++ b/etwist/test/unittest_server.py	Tue Feb 21 16:53:34 2012 +0100
@@ -55,6 +55,12 @@
                     'http://localhost:8080/hg/')
 
 
+if __name__ == '__main__':
+    from logilab.common.testlib import unittest_main
+    unittest_main()
+
+
+
 class ConcatFilesTC(CubicWebTC):
 
     def tearDown(self):