Verified Commit 6d1f0e14 authored by Sumner Evans's avatar Sumner Evans 💬

Fixed another test

parent 47274970
Pipeline #165544661 passed with stages
in 4 minutes and 50 seconds
......@@ -541,7 +541,7 @@ class FilesystemAdapter(CachingAdapter):
),
"artist": (
self._do_ingest_new_data(KEYS.ARTIST, ar.id, ar, partial=True)
if (ar := album.artist) and not partial
if (ar := album.artist)
else None
),
"_songs": (
......
......@@ -740,7 +740,9 @@ def test_caching_get_artist(cache_adapter: FilesystemAdapter):
],
biography="this is a bio",
music_brainz_id="mbid",
albums=[SubsonicAPI.Album(id="1", name="Foo", artist_id="1")],
albums=[
SubsonicAPI.Album(id="1", name="Foo", _artist="Bar", artist_id="1")
],
),
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment