Commit a180ce44 authored by Jérome Perrin's avatar Jérome Perrin

tests: include load_tests for python -m unittest discover

Since we switched to running tests with python -m unittest discover,
doctests were not longer ran.
parent 7b6a3085
...@@ -585,5 +585,10 @@ def test_suite(): ...@@ -585,5 +585,10 @@ def test_suite():
)) ))
return suite return suite
def load_tests(*args):
return test_suite()
if __name__ == '__main__': if __name__ == '__main__':
unittest.main(defaultTest='test_suite') 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