See #565: fixed path issues with external storage

This commit is contained in:
Eliot Berriot 2019-04-24 14:26:12 +02:00
parent f9a9899ef9
commit a2c52abb4f
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
8 changed files with 39 additions and 13 deletions

View file

@ -701,7 +701,7 @@ def test_activity_pub_track_serializer_from_ap(factories, r_mock, mocker):
assert album.from_activity == activity
assert album.cover.read() == b"coucou"
assert album.cover.path.endswith(".png")
assert album.cover_path.endswith(".png")
assert album.title == data["album"]["name"]
assert album.fid == data["album"]["id"]
assert str(album.mbid) == data["album"]["musicbrainzId"]