From ae7d4e36259f5663f42b3f9a9ae8b8bf4af5e0df Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 10 Nov 2021 10:53:05 +0200 Subject: [PATCH 1/2] Replace deprecated pypy3 with pypy-3.8 Committed via https://github.com/asottile/all-repos --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7bda29d..130a0a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"] + python-version: ["pypy-3.8", "3.6", "3.7", "3.8", "3.9", "3.10"] os: [ubuntu-20.04] include: # Include new variables for Codecov From 3a7c83998fe6af57f13140ce08ba4aac4a690912 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 10 Nov 2021 11:44:10 +0200 Subject: [PATCH 2/2] Replace MBID for missing test album with a real one --- tests/test_network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_network.py b/tests/test_network.py index 051c0d8..2ed839f 100755 --- a/tests/test_network.py +++ b/tests/test_network.py @@ -245,7 +245,7 @@ class TestPyLastNetwork(TestPyLastWithLastFm): def test_album_mbid(self): # Arrange - mbid = "a6a265bf-9f81-4055-8224-f7ac0aa6b937" + mbid = "03c91c40-49a6-44a7-90e7-a700edf97a62" # Act album = self.network.get_album_by_mbid(mbid) @@ -253,7 +253,7 @@ class TestPyLastNetwork(TestPyLastWithLastFm): # Assert assert isinstance(album, pylast.Album) - assert album.title.lower() == "test" + assert album.title == "Believe" assert album_mbid == mbid def test_artist_mbid(self):