coverage: remove code for old playlist format (#619)

* coverage: remove temporary code for new playlist format

* fix flaky search test

* improve rate_song coverage

* test invalid order raise

* fix workflow
This commit is contained in:
sigma67 2024-07-13 21:18:19 +02:00 • committed by GitHub
commit 14ae7852ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 69 deletions

View file

@ -77,7 +77,7 @@ class TestSearch:
assert len(results) > 10
assert all(item["resultType"] == "podcast" for item in results)
results = yt_auth.search(query, filter="episodes")
assert len(results) > 5
assert len(results) >= 5
assert all(item["resultType"] == "episode" for item in results)
def test_search_top_result(self, yt):