Hugo van Kemenade
36d89a69e8
Replace Flake8 with Ruff
2024-02-04 22:06:20 +02:00
Hugo van Kemenade
7da76f49bd
Refactor: replace redundant helper methods, no need with pytest
2023-06-03 18:03:05 +03:00
Hugo van Kemenade
6c3f3afb3a
autotyping: --none-return: add a -> None return type to functions without any return, yield, or raise in their body
2022-04-03 12:45:02 +03:00
Hugo van Kemenade
10107a04e4
Merge remote-tracking branch 'upstream/master' into streaming
2020-12-29 21:38:44 +02:00
Hugo van Kemenade
8be8c4efb6
No need to set param with default
2020-12-29 21:32:29 +02:00
Hugo van Kemenade
85f58472a3
Remove deprecated Artist.get_cover_image, User.get_artist_tracks and STATUS_TOKEN_ERROR
2020-09-12 00:21:12 +03:00
Hugo van Kemenade
0f96fe58b1
Format with Black and isort
2020-09-11 23:47:42 +03:00
Hugo
48f4be0bcf
Rewrite and add pragmas to improve coverage of non-runnable test code
2020-08-22 11:45:33 +03:00
kvanzuijlen
52abbba2bd
tox lint changes
2020-07-12 13:32:32 +02:00
kvanzuijlen
92004058ba
Added option to stream from resources to reduce memory usage
2020-07-12 13:31:48 +02:00
Hugo
aae4bb3693
Replace unittest with pytest
2020-06-01 15:50:27 +03:00
Hugo
f806a1f36a
Fix DeprecationWarning: Please use assertRegex instead
2020-03-04 22:37:05 +02:00
Hugo
21f127f88b
Fix regression calling get_recent_tracks with limit=None
2020-02-15 18:19:59 +02:00
Hugo
d28c0ec167
Xfail those two to allow the rest to pass
2019-12-17 22:19:57 +02:00
Paddez
7694de346e
Store Album Art URLs when you call GetTopAlbums.
...
GetTopAlbums returns AlbumArt information alongside the TopAlbums.
We should store this in the Album() info variable, so we don't have to follow up with an additional GetInfo() call if we want the Album Art.
Signed-off-by: Paddez <dave@paddez.com>
2019-06-22 22:36:41 +01:00
Hugo
c7b927d94c
user.getArtistTracks has been removed from Last.fm
2019-06-03 16:45:54 +03:00
Hugo
44d0c2c966
user.getArtistTracks has now been removed from Last.fm and returns an error
2019-06-02 22:54:03 +03:00
Hugo
da473448f4
Add support for new user.getTrackScrobbles
2019-02-27 19:47:31 +02:00
Hugo
9d125506e5
Deprecate User.get_artist_tracks as Last.fm will remove it soon
2019-02-26 22:53:31 +02:00
Hugo
07fac0628c
Drop support for legacy Python 2
2018-11-27 08:59:01 +02:00
Hugo
6503002692
Fix commented-out formatting post-Black
2018-06-06 11:26:00 +03:00
Hugo
da9465c100
Format with Black 18.6b1
2018-06-06 10:19:04 +03:00
Hugo
f18fd3f758
TestPyLastWithLastFm and TestPyLastWithLibreFm now inherit from PyLastTestCase
2018-04-16 21:09:52 +03:00
Hugo
60dea38d10
Add assert_startswith/endswith helper functions
2018-04-16 18:31:33 +03:00
Hugo
06f6cf627d
Failing test for user.get_weekly_artist_charts
2018-04-05 18:02:16 +03:00
Hugo
0759bf5b0c
Test against a certain user
...
One we know has more than two top tracks, rather than a new test user who might not.
2018-03-18 09:58:41 +02:00
Hugo
b87fefe9ab
Move track tests to test_track.py
2018-03-01 11:23:06 +02:00
Hugo
36f7e9619b
Shorten test names
2018-03-01 11:19:34 +02:00