Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexalligator authored Dec 5, 2023
1 parent 7166bf4 commit 5e761a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wagtail_localize/tests/test_update_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def test_post_update_page_translation_with_publish_translations_and_cleared_text
self.fr_blog_post.refresh_from_db()
self.assertEqual(self.fr_blog_post.test_charfield, "")
self.assertEqual(self.fr_blog_post.test_richtextfield, "")

def test_post_update_page_translation_with_publish_translations_and_cleared_foreignkey(
self,
):
Expand All @@ -430,7 +430,6 @@ def test_post_update_page_translation_with_publish_translations_and_cleared_fore
self.assertEqual(self.en_blog_post.test_snippet, self.en_snippet)
self.assertEqual(self.fr_blog_post.test_snippet, self.fr_snippet)


# Now update page by clearing the test_snippet foreign key
self.en_blog_post.test_snippet = None
self.en_blog_post.save_revision().publish()
Expand Down

0 comments on commit 5e761a6

Please sign in to comment.