[test] missing unittest.main() call in unittest_http_headers.py 3.19.6 centos/3.19.6-1 cubicweb-centos-version-3.19.6-1 cubicweb-debian-version-3.19.6-1 cubicweb-version-3.19.6 debian/3.19.6-1
authorDavid Douard <david.douard@logilab.fr>
Sun, 30 Nov 2014 12:01:57 +0100
changeset 10072 934341b848a6
parent 10071 4bc099f2a089
child 10073 c53062c49d53
[test] missing unittest.main() call in unittest_http_headers.py
web/test/unittest_http_headers.py
--- a/web/test/unittest_http_headers.py	Fri Nov 28 00:39:31 2014 +0100
+++ b/web/test/unittest_http_headers.py	Sun Nov 30 12:01:57 2014 +0100
@@ -12,3 +12,7 @@
 
         with self.assertRaises(ValueError):
             http_headers.generateTrueFalse('any value')
+
+if __name__ == '__main__':
+    from unittest import main
+    main()