mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 00:50:35 +00:00
Python formatting
This commit is contained in:
parent
4ca76ec58d
commit
80893dd5fd
1 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ class Status(TestCase):
|
|||
self.assertEqual(activity["type"], "Article")
|
||||
self.assertEqual(
|
||||
activity["name"],
|
||||
"Review of <em>%s</em> (3 stars): Review name" % self.book.title,
|
||||
'Review of "%s" (3 stars): Review name' % self.book.title,
|
||||
)
|
||||
self.assertEqual(activity["content"], "test content")
|
||||
self.assertEqual(activity["attachment"][0].type, "Document")
|
||||
|
@ -298,7 +298,7 @@ class Status(TestCase):
|
|||
self.assertEqual(activity["id"], status.remote_id)
|
||||
self.assertEqual(activity["type"], "Article")
|
||||
self.assertEqual(
|
||||
activity["name"], "Review of <em>%s</em>: Review name" % self.book.title
|
||||
activity["name"], 'Review of "%s": Review name' % self.book.title
|
||||
)
|
||||
self.assertEqual(activity["content"], "test content")
|
||||
self.assertEqual(activity["attachment"][0].type, "Document")
|
||||
|
|
Loading…
Reference in a new issue