[test] add mimssing unittest_main() calls
authorDavid Douard <david.douard@logilab.fr>
Thu, 15 May 2014 08:58:58 +0200
changeset 1522 70131ccb08ec
parent 1521 2f7557eabc54
child 1523 7157179d08dd
[test] add mimssing unittest_main() calls
test/test_functional.py
test/unittest_preprocessors.py
--- a/test/test_functional.py	Wed May 14 23:10:57 2014 +0200
+++ b/test/test_functional.py	Thu May 15 08:58:58 2014 +0200
@@ -2,6 +2,7 @@
 import subprocess
 import shutil
 
+from logilab.common.testlib import unittest_main
 import cubicweb.devtools
 import cubes.apycot.testutils as utils
 
@@ -54,3 +55,5 @@
                              dict((checker.name, checker.status) for checker in te.checkers),
                              )
 
+if __name__ == '__main__':
+    unittest_main()
--- a/test/unittest_preprocessors.py	Wed May 14 23:10:57 2014 +0200
+++ b/test/unittest_preprocessors.py	Thu May 15 08:58:58 2014 +0200
@@ -1,6 +1,7 @@
 # -*- coding: utf-8 -*-
 import json
 
+from logilab.common.testlib import unittest_main
 import cubicweb.devtools
 
 from cubes.apycot.testutils import ApycotBaseTC
@@ -84,3 +85,5 @@
 
 
 
+if __name__ == '__main__':
+    unittest_main()