From b118e111349b6b00855ffe35c5a933f97daeb047 Mon Sep 17 00:00:00 2001 From: MizukiTemma Date: Mon, 9 Dec 2024 16:47:45 +0100 Subject: [PATCH] Add remarks --- tests/cms/views/contacts/test_contact_actions.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/cms/views/contacts/test_contact_actions.py b/tests/cms/views/contacts/test_contact_actions.py index 0ea5f57004..8197201678 100644 --- a/tests/cms/views/contacts/test_contact_actions.py +++ b/tests/cms/views/contacts/test_contact_actions.py @@ -68,6 +68,7 @@ def test_archive_contact( ).content.decode("utf-8") assert Contact.objects.filter(id=contact_id).first().archived else: + # To be adjusted after #3282 assert_message_in_log( "ERROR Contact couldn't be archived as it's used in a content", caplog, @@ -133,6 +134,7 @@ def test_delete_contact( ).content.decode("utf-8") assert not Contact.objects.filter(id=contact_id).first() else: + # To be adjusted after #3282 assert_message_in_log( "ERROR Contact couldn't be archived as it's used in a content", caplog, @@ -240,7 +242,7 @@ def test_bulk_archive_contacts( response.status_code == 302 redirect_url = response.headers.get("location") redirect_page = client.get(redirect_url).content.decode("utf-8") - + # To be adjusted after #3282 """ assert_message_in_log( "ERROR could not be archived", @@ -312,7 +314,7 @@ def test_bulk_delete_contacts( response.status_code == 302 redirect_url = response.headers.get("location") redirect_page = client.get(redirect_url).content.decode("utf-8") - + # To be adjusted after #3282 """ assert_message_in_log( "ERROR could not be archived",