Remove deprecated is_streamable and is_fulltrack_available
This commit is contained in:
parent
7f4bea6f07
commit
bb05699252
3 changed files with 0 additions and 68 deletions
|
@ -118,28 +118,6 @@ class TestPyLastTrack(TestPyLastWithLastFm):
|
|||
# Assert
|
||||
assert duration >= 200000
|
||||
|
||||
def test_track_is_streamable(self):
|
||||
# Arrange
|
||||
track = pylast.Track("Nirvana", "Lithium", self.network)
|
||||
|
||||
# Act
|
||||
with pytest.warns(DeprecationWarning):
|
||||
streamable = track.is_streamable()
|
||||
|
||||
# Assert
|
||||
assert not streamable
|
||||
|
||||
def test_track_is_fulltrack_available(self):
|
||||
# Arrange
|
||||
track = pylast.Track("Nirvana", "Lithium", self.network)
|
||||
|
||||
# Act
|
||||
with pytest.warns(DeprecationWarning):
|
||||
fulltrack_available = track.is_fulltrack_available()
|
||||
|
||||
# Assert
|
||||
assert not fulltrack_available
|
||||
|
||||
def test_track_get_album(self):
|
||||
# Arrange
|
||||
track = pylast.Track("Nirvana", "Lithium", self.network)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue