From 646d2f267f84e52ccc192a329c40a050d76b2917 Mon Sep 17 00:00:00 2001 From: vincent porte Date: Mon, 2 Oct 2023 11:09:40 +0200 Subject: [PATCH] make test resilient againts linter reindentation --- lacommunaute/forum/tests/tests_views.py | 36 ++++++++++++++----------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/lacommunaute/forum/tests/tests_views.py b/lacommunaute/forum/tests/tests_views.py index a31471e28..55111ffc4 100644 --- a/lacommunaute/forum/tests/tests_views.py +++ b/lacommunaute/forum/tests/tests_views.py @@ -1,3 +1,5 @@ +import re + from django.template.defaultfilters import truncatechars_html from django.test import RequestFactory, TestCase from django.urls import reverse @@ -368,34 +370,36 @@ def test_upvote_actions(self): self.client.force_login(self.user) no_upvote_html = ( '