improve coverage
This commit is contained in:
parent
da492e49f6
commit
f98274f0ec
5 changed files with 15 additions and 26 deletions
|
|
@ -86,6 +86,10 @@ class TestBrowsing:
|
|||
album = yt.get_album("MPREb_YuigcYm2erf") # album with track (#8) disabled/greyed out
|
||||
assert album["tracks"][7]["trackNumber"] is None
|
||||
|
||||
def test_get_album_errors(self, yt):
|
||||
with pytest.raises(Exception, match="Invalid album browseId"):
|
||||
yt.get_album("asdf")
|
||||
|
||||
def test_get_album_other_versions(self, yt):
|
||||
# Eminem - Curtain Call: The Hits (Explicit Variant)
|
||||
album = yt.get_album("MPREb_LQCAymzbaKJ")
|
||||
|
|
|
|||
Loading…
Reference in a new issue