Hugo van Kemenade
|
35b264bae4
|
Refactor
|
2024-05-22 22:29:05 +03:00 |
|
Hugo van Kemenade
|
353e32bd6b
|
Fix expected result in test
|
2024-05-22 22:26:42 +03:00 |
|
Hugo van Kemenade
|
36d89a69e8
|
Replace Flake8 with Ruff
|
2024-02-04 22:06:20 +02:00 |
|
Hugo van Kemenade
|
47eda3ea70
|
Refactor: make helper methods static
|
2023-06-03 18:10:01 +03: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
|
1c669d8bb0
|
Fix test: now returns a png
|
2023-06-03 17:55:00 +03:00 |
|
pre-commit-ci[bot]
|
879591e1cc
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2023-04-03 19:10:56 +00:00 |
|
Hugo van Kemenade
|
7f1de76f6e
|
Fix test_track_get_duration
|
2022-09-26 11:30:50 +03:00 |
|
Hugo van Kemenade
|
afbafe1e76
|
Fix test
|
2022-05-02 15:06:07 +03:00 |
|
Hugo van Kemenade
|
eb4af40d64
|
autotyping: --scalar-return: add a return annotation to functions that only return literal bool, str, bytes, int, or float objects
|
2022-04-03 12:45:23 +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
|
b0f2f5fe13
|
For some reason the earlier track is returning duration=0
|
2022-04-03 12:35:28 +03:00 |
|
Hugo van Kemenade
|
fe7484b3ca
|
If album has no MBID, album.get_getmbid() returns None
|
2022-02-27 16:46:29 +02:00 |
|
Hugo van Kemenade
|
1a45c3b919
|
Allow setting multiple proxies + some cleanup
|
2022-02-27 16:18:41 +02:00 |
|
Hugo van Kemenade
|
44ade40579
|
Replace http.client with HTTPX
|
2022-02-27 16:18:41 +02:00 |
|
Hugo van Kemenade
|
bb05699252
|
Remove deprecated is_streamable and is_fulltrack_available
|
2022-02-27 16:13:04 +02:00 |
|
Hugo van Kemenade
|
3ffe7cf65a
|
test_get_userplaycount now passes
|
2022-01-24 22:26:16 +02:00 |
|
Hugo van Kemenade
|
1841fb66dc
|
This test now passes, although some other MBID searches are still broken
|
2022-01-24 22:07:03 +02:00 |
|
Hugo van Kemenade
|
3b7cb9c8c7
|
Deprecate is_streamable and is_fulltrack_available
|
2022-01-24 19:05:06 +02:00 |
|
Hugo van Kemenade
|
9676714dcf
|
Strip invalid XML characters from response
|
2022-01-12 13:04:34 +02:00 |
|
Hugo van Kemenade
|
3a7c83998f
|
Replace MBID for missing test album with a real one
|
2021-11-10 11:44:10 +02:00 |
|
Hugo van Kemenade
|
05b4ad8c62
|
Disable the flaky write tests
|
2021-10-19 13:57:47 +03:00 |
|
Hugo van Kemenade
|
c41f831d82
|
Fix test
|
2021-10-19 13:17:20 +03:00 |
|
Hugo van Kemenade
|
a850f093f0
|
track.getInfo with mbid is broken at Last.fm: https://support.last.fm/t/track-getinfo-with-mbid-returns-6-track-not-found/47905
|
2021-08-02 21:09:28 +03:00 |
|
Hugo van Kemenade
|
ddb1b1e501
|
Fix test
|
2021-08-02 20:50:21 +03:00 |
|
Hugo van Kemenade
|
c8a64dbee9
|
Test image is now gif
|
2021-08-02 20:42:20 +03:00 |
|
Hugo van Kemenade
|
3fcf45062d
|
Blacken docs
|
2020-12-30 13:09:06 +02: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
|
7327b30337
|
Refactor to avoid shadowing built-in
|
2020-12-27 14:22:41 +02:00 |
|
Hugo van Kemenade
|
a5034c43c0
|
Refactor with pytest.mark.parametrize
|
2020-12-27 14:05:52 +02:00 |
|
Hugo van Kemenade
|
08274028eb
|
Set limit to 50 by default, not 1
|
2020-12-27 14:01:12 +02:00 |
|
Hugo van Kemenade
|
5413d636ce
|
Fix test
|
2020-11-16 23:45:25 +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
|
3129d6052d
|
Run xfail tests only once: no point re-running
|
2020-08-23 12:11:07 +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
|
32461c089d
|
Only test write operations on a single Python version to avoid collision failures
|
2020-06-24 22:58:25 +03:00 |
|
Hugo
|
158273e0ae
|
Deprecate Artist.get_cover_image, they're no longer available from Last.fm
|
2020-06-22 22:20:45 +03:00 |
|
Hugo
|
6f62857164
|
Add test for get_album() changes
|
2020-06-02 16:02:26 +03:00 |
|
Hugo
|
aae4bb3693
|
Replace unittest with pytest
|
2020-06-01 15:50:27 +03:00 |
|
Hugo
|
7689a1e95a
|
User.get_now_playing: Add album and cover image to info
|
2020-06-01 14:52:29 +03:00 |
|
Hugo
|
925cae2031
|
Add test for artist with no bio content
|
2020-05-08 12:42:36 +03:00 |
|
Hugo
|
f806a1f36a
|
Fix DeprecationWarning: Please use assertRegex instead
|
2020-03-04 22:37:05 +02:00 |
|
Hugo van Kemenade
|
d367d913c2
|
Merge pull request #320 from pylast/313-limit-none
Fix regression calling get_recent_tracks with limit=None
|
2020-03-04 21:57:46 +02:00 |
|
Hugo
|
af036ec5d5
|
pre-commit autoupdate
|
2020-02-27 22:29:32 +02:00 |
|
Hugo
|
21f127f88b
|
Fix regression calling get_recent_tracks with limit=None
|
2020-02-15 18:19:59 +02:00 |
|
Hugo
|
6b04456c55
|
Mock is part of stdlib in Python 3
|
2019-12-17 22:32:53 +02:00 |
|