[wsgi/test] add __main__ section
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 01 Oct 2015 11:40:23 +0200
changeset 10670 96380c1524b0
parent 10669 155c29e0ed1c
child 10671 e08102f45237
[wsgi/test] add __main__ section
wsgi/test/unittest_wsgi.py
--- a/wsgi/test/unittest_wsgi.py	Fri Sep 18 14:29:53 2015 +0200
+++ b/wsgi/test/unittest_wsgi.py	Thu Oct 01 11:40:23 2015 +0200
@@ -115,3 +115,8 @@
         super(WSGIAppTC, cls).init_config(config)
         config.https_uiprops = None
         config.https_datadir_url = None
+
+
+if __name__ == '__main__':
+    import unittest
+    unittest.main()