diff --git a/lacommunaute/forum_stats/tests/tests_views.py b/lacommunaute/forum_stats/tests/tests_views.py
index 0a6e0f686..947c442a2 100644
--- a/lacommunaute/forum_stats/tests/tests_views.py
+++ b/lacommunaute/forum_stats/tests/tests_views.py
@@ -116,7 +116,7 @@ def test_impact_in_context_data(self):
def test_navigation(self):
url = reverse("forum_stats:statistiques")
response = self.client.get(url)
- self.assertContains(response, "")
+ self.assertContains(response, f"")
class TestMonthlyVisitorsView:
@@ -162,4 +162,6 @@ def test_navigation(self, client, db):
url = reverse("forum_stats:monthly_visitors")
response = client.get(url)
assert response.status_code == 200
- assertContains(response, 'retour vers la page statistiques')
+ assertContains(
+ response, f'retour vers la page statistiques'
+ )