Skip to content
Snippets Groups Projects
Commit 40c45906 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

banners/tests: Fix test failing with django 4.x

Related to #4734
parent 97645f40
No related branches found
No related tags found
1 merge request!1114Add django 4 support
......@@ -67,6 +67,6 @@ def test_fundraising_banner_give_api_error(client, requests_mock):
def test_downtime_banner(client):
url = reverse("swh-downtime-banner")
resp = check_html_get_response(
client, url, status_code=200, template_used="./downtime-banner.html"
client, url, status_code=200, template_used="downtime-banner.html"
)
assert_contains(resp, "Downtime expected for SWH services")
......@@ -76,5 +76,5 @@ def downtime_banner(request):
return render(
request,
"banner-iframe.html",
{"lang": lang if lang else "en", "banner_template": "./downtime-banner.html"},
{"lang": lang if lang else "en", "banner_template": "downtime-banner.html"},
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment