Skip to content
Snippets Groups Projects
Commit 34b6503f authored by Simon Künzel's avatar Simon Künzel
Browse files

Fix missing exit in python. Now it should fail!

parent bae2a04e
No related branches found
No related tags found
No related merge requests found
Pipeline #5875 failed
...@@ -6,4 +6,5 @@ if __name__ == '__main__': ...@@ -6,4 +6,5 @@ if __name__ == '__main__':
app.api_app.testing = True app.api_app.testing = True
# This is always run from src/ # This is always run from src/
suite = unittest.defaultTestLoader.discover("../tests/", pattern="*", top_level_dir="../tests") suite = unittest.defaultTestLoader.discover("../tests/", pattern="*", top_level_dir="../tests")
unittest.TextTestRunner(verbosity=2, failfast=True).run(suite) if not unittest.TextTestRunner(verbosity=2, failfast=True).run(suite).wasSuccessful():
exit(-1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment