Commit 10944b41 authored by Boxiang Sun's avatar Boxiang Sun

Add main function to allow run the test individually.

parent dddc26d5
...@@ -594,3 +594,6 @@ def test_suite(): ...@@ -594,3 +594,6 @@ def test_suite():
else: else:
suite.addTest(unittest.makeSuite(RESTTests)) suite.addTest(unittest.makeSuite(RESTTests))
return suite return suite
if __name__ == '__main__':
unittest.main(defaultTest='test_suite')
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