Remove redundant format string in test_move_page.py

Co-authored-by: Jake Howard <RealOrangeOne@users.noreply.github.com>
pull/10644/head^2
Matt Westcott 2023-07-14 12:10:15 +01:00 zatwierdzone przez Matt Westcott
rodzic 5a6991dd8f
commit 1e49d2a63b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -124,7 +124,7 @@ class TestPageMove(WagtailTestUtils, TestCase):
self.assertEqual(len(messages), 1)
self.assertEqual(messages[0].level, message_constants.ERROR)
# Slug should be in error message.
self.assertIn(f"{self.test_page_b.slug}", messages[0].message)
self.assertIn(self.test_page_b.slug, messages[0].message)
def test_move_triggers_signals(self):
# Connect a mock signal handler to pre_page_move and post_page_move signals