Skip to content

Commit

Permalink
end
Browse files Browse the repository at this point in the history
  • Loading branch information
WillemNicolas committed May 5, 2023
1 parent f2f1b81 commit 04aece6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions run_unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
from unit_tests.test import Test
import sys

test_classes = [Test]


loader = unittest.TestLoader()
tests = [
loader.loadTestsFromTestCase(test)
Expand All @@ -10,6 +13,6 @@
suite = unittest.TestSuite(tests)

runner = unittest.TextTestRunner(verbosity=2)
runner.run(suite)
res = runner.run(suite)

sys.exit(1)
sys.exit(0 if res.wasSuccessful() else 1)

0 comments on commit 04aece6

Please sign in to comment.