fix tests.json for authelia and exit when test exception occurs

This commit is contained in:
florian 2022-07-13 17:02:26 +02:00
parent 16573a397e
commit e1183a0d4c
2 changed files with 3 additions and 2 deletions

View file

@ -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"
}
]

View file

@ -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 + " !")