Skip to content

Commit

Permalink
Fix tests for now and rephrase comments for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiek committed Jun 3, 2019
1 parent 9f1f361 commit b6c5c88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_spotify_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_write_playlist(tmpdir):
assert tracks == expect_tracks


# XXX: Mock this test off if it fails in future
# XXX: Monkeypatch these tests if they fail in future
class TestFetchAlbum:
@pytest.fixture(scope="module")
def album_fixture(self):
Expand All @@ -131,7 +131,7 @@ def test_tracks(self, album_fixture):
assert album_fixture["tracks"]["total"] == 15


# XXX: Mock this test off if it fails in future
# XXX: Monkeypatch these tests if they fail in future
class TestFetchAlbumsFromArtist:
@pytest.fixture(scope="module")
def albums_from_artist_fixture(self):
Expand All @@ -141,7 +141,7 @@ def albums_from_artist_fixture(self):
return albums

def test_len(self, albums_from_artist_fixture):
assert len(albums_from_artist_fixture) == 52
assert len(albums_from_artist_fixture) == 53

def test_zeroth_album_name(self, albums_from_artist_fixture):
assert albums_from_artist_fixture[0]["name"] == "Revolution Radio"
Expand Down

0 comments on commit b6c5c88

Please sign in to comment.