mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Python formatting
This commit is contained in:
parent
24045685e1
commit
57a05e239b
1 changed files with 2 additions and 2 deletions
|
@ -301,7 +301,7 @@ class Status(TestCase):
|
|||
self.assertEqual(activity["type"], "Article")
|
||||
self.assertEqual(
|
||||
activity["name"],
|
||||
f'Review of "<a href=\'{self.book.local_path}\'>{self.book.title}</a>" (3 stars): Review\'s name',
|
||||
f"Review of \"<a href='{self.book.local_path}'>{self.book.title}</a>\" (3 stars): Review's name",
|
||||
)
|
||||
self.assertEqual(activity["content"], "test content")
|
||||
self.assertEqual(activity["attachment"][0].type, "Document")
|
||||
|
@ -326,7 +326,7 @@ class Status(TestCase):
|
|||
self.assertEqual(activity["type"], "Article")
|
||||
self.assertEqual(
|
||||
activity["name"],
|
||||
f'Review of "<a href=\'{self.book.local_path}\'>{self.book.title}</a>": Review name',
|
||||
f"Review of \"<a href='{self.book.local_path}'>{self.book.title}</a>\": Review name",
|
||||
)
|
||||
self.assertEqual(activity["content"], "test content")
|
||||
self.assertEqual(activity["attachment"][0].type, "Document")
|
||||
|
|
Loading…
Reference in a new issue