From 61a0b50b9155485a48d7026879ab5fdcdb5a3a04 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 15 Oct 2021 10:10:38 -0700 Subject: [PATCH] Test raw version is saved --- bookwyrm/tests/views/test_status.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/tests/views/test_status.py b/bookwyrm/tests/views/test_status.py index ea6e036c2..db61b1528 100644 --- a/bookwyrm/tests/views/test_status.py +++ b/bookwyrm/tests/views/test_status.py @@ -68,6 +68,7 @@ class StatusViews(TestCase): view(request, "comment") status = models.Comment.objects.get() + self.assertEqual(status.raw_content, "hi") self.assertEqual(status.content, "

hi

") self.assertEqual(status.user, self.local_user) self.assertEqual(status.book, self.book)