From e1183a0d4c891dca510e7342d35c0799c4bb87b7 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 13 Jul 2022 17:02:26 +0200 Subject: [PATCH] fix tests.json for authelia and exit when test exception occurs --- examples/authelia/tests.json | 4 ++-- tests/main.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/authelia/tests.json b/examples/authelia/tests.json index 877336620..31d2183de 100644 --- a/examples/authelia/tests.json +++ b/examples/authelia/tests.json @@ -10,12 +10,12 @@ "tests": [ { "type": "string", - "url": "https://TEST_DOMAIN1_1 + "url": "https://TEST_DOMAIN1_1", "string": "authelia" }, { "type": "string", - "url": "https://TEST_DOMAIN1_2 + "url": "https://TEST_DOMAIN1_2", "string": "authelia" } ] diff --git a/tests/main.py b/tests/main.py index 54d53c669..1fec88c39 100755 --- a/tests/main.py +++ b/tests/main.py @@ -44,5 +44,6 @@ for example in glob("./examples/*") : exit(1) except : log("TESTS", "❌", "Exception while executing test for example " + example + " : " + format_exc()) + exit(1) log("TESTS", "ℹ️", "All tests finished for " + test_type + " !") \ No newline at end of file