fixed the last two errors
This commit is contained in:
parent
6b50eaef9e
commit
3c53d0992d
2 changed files with 0 additions and 10 deletions
|
|
@ -51,11 +51,6 @@ class SoundcloudAlbumTrack(SoundcloudTrack):
|
||||||
"""Returns the entry's album name, fetched from its internal album"""
|
"""Returns the entry's album name, fetched from its internal album"""
|
||||||
return self._album
|
return self._album
|
||||||
|
|
||||||
@property
|
|
||||||
def total_tracks(self) -> int:
|
|
||||||
"""Returns the entry's total tracks in album for singles this is 1"""
|
|
||||||
return self._playlist_metadata.playlist_count
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def album_year(self) -> int:
|
def album_year(self) -> int:
|
||||||
"""Returns the entry's album year, fetched from its internal album"""
|
"""Returns the entry's album year, fetched from its internal album"""
|
||||||
|
|
|
||||||
|
|
@ -28,11 +28,6 @@ def is_premiere():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
|
||||||
def track_count():
|
|
||||||
return 1
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def mock_soundcloud_track_to_dict(
|
def mock_soundcloud_track_to_dict(
|
||||||
mock_entry_to_dict,
|
mock_entry_to_dict,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue