Fix formatting for #8024

pull/8046/head
jacobtoppm 2022-02-25 12:36:39 +00:00
rodzic 05812ce624
commit 4df2bd369b
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -358,12 +358,14 @@ class TestPageEdit(TestCase, WagtailTestUtils):
# But a revision with go_live_at and expire_at in their content json *should* exist
self.assertTrue(
PageRevision.objects.filter(
page=child_page_new, content__go_live_at__startswith=str(go_live_at.date())
page=child_page_new,
content__go_live_at__startswith=str(go_live_at.date()),
).exists()
)
self.assertTrue(
PageRevision.objects.filter(
page=child_page_new, content__expire_at__startswith=str(expire_at.date())
page=child_page_new,
content__expire_at__startswith=str(expire_at.date()),
).exists()
)