forked from mirrors/bookwyrm
Test raw version is saved
This commit is contained in:
parent
e8f5678867
commit
61a0b50b91
1 changed files with 1 additions and 0 deletions
|
@ -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, "<p>hi</p>")
|
||||
self.assertEqual(status.user, self.local_user)
|
||||
self.assertEqual(status.book, self.book)
|
||||
|
|
Loading…
Reference in a new issue