Skip to content

Commit

Permalink
fix: flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joshyu committed Mar 18, 2024
1 parent 0000ce2 commit 3253b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand All @@ -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
"""
Expand Down

0 comments on commit 3253b9f

Please sign in to comment.