Repository: sublime-music/sublime-music (language: python)

Issue:
Fix tests
There's something broken with ingestion of albums inside of an artist.

```
FAILED tests/adapter_tests/filesystem_adapter_tests.py::test_caching_get_artist - assert 1 == 2
FAILED tests/adapter_tests/filesystem_adapter_tests.py::test_caching_invalidate_artist - AssertionError: DID NOT raise CacheMissError
```


Discussion / hints:
Considering just disabling these tests so I can get a release out...
@wboubi it looks like the:
```
FAILED tests/adapter_tests/filesystem_adapter_tests.py::test_caching_invalidate_artist - AssertionError: DID NOT raise CacheMissError
```
error still is happening. The other one is fixed, though!
My bad i forgot to fix the artist_id in the second test.

Fix patch:
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 07d3aae..004a8a7 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -24,6 +24,7 @@ jobs:
 
       - name: Install dependencies
         run: |
+          sudo apt update
           sudo apt install -y \
             libgirepository1.0-dev \
             libgtk-3-dev \
@@ -47,6 +48,7 @@ jobs:
 
       - name: Install dependencies
         run: |
+          sudo apt update
           sudo apt install -y \
             libgirepository1.0-dev \
             libgtk-3-dev \
@@ -67,6 +69,7 @@ jobs:
 
       - name: Install dependencies
         run: |
+          sudo apt update
           sudo apt install -y \
             libgirepository1.0-dev \
             libgtk-3-dev \
@@ -99,6 +102,7 @@ jobs:
 
       - name: Install dependencies
         run: |
+          sudo apt update
           sudo apt install -y \
             libgirepository1.0-dev \
             libgtk-3-dev \
diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml
index 21bf7a7..6a80c30 100644
--- a/.github/workflows/pages.yaml
+++ b/.github/workflows/pages.yaml
@@ -17,6 +17,7 @@ jobs:
 
       - name: Install dependencies
         run: |
+          sudo apt update
           sudo apt install -y \
             libgirepository1.0-dev \
             libgtk-3-dev \


Test patch:
diff --git a/tests/adapter_tests/filesystem_adapter_tests.py b/tests/adapter_tests/filesystem_adapter_tests.py
index 92925f5..7d6c2ac 100644
--- a/tests/adapter_tests/filesystem_adapter_tests.py
+++ b/tests/adapter_tests/filesystem_adapter_tests.py
@@ -870,8 +870,8 @@ def test_caching_invalidate_artist(cache_adapter: FilesystemAdapter):
             biography="this is a bio",
             music_brainz_id="mbid",
             albums=[
-                SubsonicAPI.Album(id="1", name="Foo", _artist="Bar", artist_id="1"),
-                SubsonicAPI.Album(id="2", name="Bar", _artist="Bar", artist_id="1"),
+                SubsonicAPI.Album(id="1", name="Foo", _artist="Bar", artist_id="artist1"),
+                SubsonicAPI.Album(id="2", name="Bar", _artist="Bar", artist_id="artist1"),
             ],
         ),
     )