forked from mirrors/bookwyrm
Update test_status_model.py
This commit is contained in:
parent
b956b79bd0
commit
56fd147c88
1 changed files with 2 additions and 2 deletions
|
@ -301,7 +301,7 @@ class Status(TestCase):
|
|||
self.assertEqual(activity["attachment"][0].type, "Document")
|
||||
self.assertEqual(
|
||||
activity["attachment"][0].url,
|
||||
urljoin(settings.MEDIA_FULL_URL, self.book.cover.url.lstrip("/"))
|
||||
urljoin(settings.MEDIA_FULL_URL, self.book.cover.url.lstrip("/")),
|
||||
)
|
||||
self.assertEqual(activity["attachment"][0].name, "Test Edition")
|
||||
|
||||
|
|
Loading…
Reference in a new issue