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

tests: define load_tests otherwise doctest are not run in software/slapos-testing

When we switch to using `python -m unittest discover -v` test_suite is not
used, but load_tests is used instead.
parent 6c30d897
Pipeline #16939 failed with stage
in 0 seconds
...@@ -412,3 +412,7 @@ def test_suite(): ...@@ -412,3 +412,7 @@ def test_suite():
] ]
suite = unittest.TestSuite(tests) suite = unittest.TestSuite(tests)
return suite return suite
def load_tests(*args):
return 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