Commit bcbd7a2a authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Use unittest from standard library

parent f725bd2d3e66
from logilab.common.testlib import unittest_main
import unittest
from cubicweb.devtools.testlib import AutomaticWebTest
class AutomaticWebTest(AutomaticWebTest):
......@@ -10,4 +10,4 @@ class AutomaticWebTest(AutomaticWebTest):
return ()
if __name__ == '__main__':
unittest_main()
unittest.main()
from logilab.common.testlib import unittest_main
import unittest
from cubicweb.devtools.testlib import CubicWebTC
class PersonTC(CubicWebTC):
......@@ -14,4 +14,4 @@ class PersonTC(CubicWebTC):
self.assertEqual(e.dc_long_title(), 'Mr adrien di mascio')
if __name__ == '__main__':
unittest_main()
unittest.main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment