From c1acfa77b331a823b1b06aea47549856828feb68 Mon Sep 17 00:00:00 2001 From: Tidiane Dia Date: Wed, 15 Dec 2021 10:03:24 +0000 Subject: [PATCH] Update breadcrumb tests --- .../admin/tests/pages/test_explorer_view.py | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/wagtail/admin/tests/pages/test_explorer_view.py b/wagtail/admin/tests/pages/test_explorer_view.py index 420965280f..0ba11b8899 100644 --- a/wagtail/admin/tests/pages/test_explorer_view.py +++ b/wagtail/admin/tests/pages/test_explorer_view.py @@ -307,8 +307,8 @@ class TestBreadcrumb(TestCase, WagtailTestUtils): # The breadcrumb should pick up SimplePage's overridden get_admin_display_title method expected_url = reverse('wagtailadmin_explore', args=(Page.objects.get(url_path='/home/secret-plans/').id, )) expected = """ -
  • - Secret plans (simple page) +
  • - +
  • - +
  • - +
  • - +
  • - +
  • Home
  • """) + self.assertNotContains(response, """""") @override_settings(WAGTAIL_I18N_ENABLED=True)