Python formatting

This commit is contained in:
Mouse Reeve 2021-03-24 11:01:23 -07:00
parent c1e0471d1a
commit 61a773cbe2

View file

@ -278,7 +278,7 @@ class Status(TestCase):
self.assertEqual(activity["type"], "Article") self.assertEqual(activity["type"], "Article")
self.assertEqual( self.assertEqual(
activity["name"], activity["name"],
"Review of \"%s\" (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["content"], "test content")
self.assertEqual(activity["attachment"][0].type, "Document") self.assertEqual(activity["attachment"][0].type, "Document")
@ -300,7 +300,7 @@ class Status(TestCase):
self.assertEqual(activity["id"], status.remote_id) self.assertEqual(activity["id"], status.remote_id)
self.assertEqual(activity["type"], "Article") self.assertEqual(activity["type"], "Article")
self.assertEqual( self.assertEqual(
activity["name"], "Review of \"%s\": Review name" % self.book.title activity["name"], 'Review of "%s": Review name' % self.book.title
) )
self.assertEqual(activity["content"], "test content") self.assertEqual(activity["content"], "test content")
self.assertEqual(activity["attachment"][0].type, "Document") self.assertEqual(activity["attachment"][0].type, "Document")