This commit is contained in:
dgtlmoon
2022-12-05 17:26:04 +01:00
parent 47eeec13f1
commit dfbb788629

View File

@@ -60,7 +60,7 @@ def test_check_notification_error_handling(client, live_server):
# The error should show in the notification logs
res = client.get(
url_for("notification_logs"))
found_name_resolution_error = b"Temporary failure in name resolution" or b"Name or service not known" in res.data
found_name_resolution_error = b"Temporary failure in name resolution" in res.data or b"Name or service not known" in res.data
assert found_name_resolution_error
client.get(url_for("form_delete", uuid="all"), follow_redirects=True)