Fix lints in tests (#682)

* Fix lints on tests

* Formatting

* Formatting
This commit is contained in:
Nathan Thomas 2024-05-14 16:27:41 -07:00 committed by GitHub
parent 178168cc68
commit 54d05e1330
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 50 additions and 50 deletions

View file

@ -25,19 +25,8 @@ def test_pending_resolve(qobuz_client: QobuzClient):
dir = "tests/tests/Fleetwood Mac - Rumours (1977) [FLAC] [24B-96kHz]"
assert os.path.isdir(dir)
assert os.path.isfile(os.path.join(dir, "cover.jpg"))
# embedded_cover_path aka t.cover_path is
# ./tests/./tests/Fleetwood Mac - Rumours (1977) [FLAC] [24B-96kHz]/
# __artwork/cover-9202762427033526105.jpg
assert os.path.isfile(t.cover_path)
assert isinstance(t, Track)
assert isinstance(t.downloadable, Downloadable)
assert t.cover_path is not None
shutil.rmtree(dir)
# def test_pending_resolve_mp3(qobuz_client: QobuzClient):
# qobuz_client.config.session.qobuz.quality = 1
# p = PendingSingle("19512574", qobuz_client, qobuz_client.config)
# t = arun(p.resolve())
# assert isinstance(t, Track)
# assert False