Python formatting

This commit is contained in:
Mouse Reeve 2021-03-24 11:01:23 -07:00
parent 4ca76ec58d
commit 80893dd5fd

View file

@ -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")