From 3253b9f348fc7b05afa239308d80cf350a5865e3 Mon Sep 17 00:00:00 2001 From: Josh Peng Yu Date: Mon, 18 Mar 2024 03:16:40 +0000 Subject: [PATCH] fix: flake8 errors --- tests/test_admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_admin.py b/tests/test_admin.py index 54b98e1ad..8a0466c40 100644 --- a/tests/test_admin.py +++ b/tests/test_admin.py @@ -333,7 +333,7 @@ def test_get_list_display(self): ) @skipIf(TREEBEARD_4_5, "Test relevant only for treebeard>=4.6") - def test_get_changelist_template(self): + def test_get_changelist_template_for_old_treebeard(self): """ Check the template is the standard change list template when the request is for the changelist endpoint """ @@ -344,7 +344,7 @@ def test_get_changelist_template(self): self.assertEqual(result, "admin/djangocms_navigation/menuitem/tree_change_list.html") @skipUnless(TREEBEARD_4_5, "Test relevant only for treebeard<4.6") - def test_get_changelist_template(self): + def test_get_changelist_template_for_new_treebeard(self): """ Check the template is the standard change list template when the request is for the changelist endpoint """