mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 14:29:42 +02:00
Attachments
This commit is contained in:
parent
421b441dbe
commit
c84396e669
50 changed files with 879 additions and 261 deletions
|
@ -192,7 +192,7 @@ def test_album_get_image_content(factories):
|
|||
album.get_image(data={"content": b"test", "mimetype": "image/jpeg"})
|
||||
album.refresh_from_db()
|
||||
|
||||
assert album.cover.read() == b"test"
|
||||
assert album.attachment_cover.file.read() == b"test"
|
||||
|
||||
|
||||
def test_library(factories):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue