mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 13:16:33 +00:00
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].type, "Document")
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
activity["attachment"][0].url,
|
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")
|
self.assertEqual(activity["attachment"][0].name, "Test Edition")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue