Commit graph

108 commits

Author SHA1 Message Date
Hugo 9d125506e5 Deprecate User.get_artist_tracks as Last.fm will remove it soon 2019-02-26 22:53:31 +02:00
Hugo b41c5bc85a Add a delay to allow Last.fm to update unloves 2019-02-03 14:39:21 +02:00
Hugo 0ad27dbc7e Only run test_unlove on a single Python version to avoid collisions 2019-02-03 14:02:28 +02:00
Hugo 7f207c50da Add a delay to allow Last.fm to update unloves 2019-02-03 13:55:54 +02:00
Hugo 4eec2e763d Only run test_love on a single Python version to avoid collisions 2019-02-03 12:51:44 +02:00
Hugo d4fe9e5b36 Add a delay to allow Last.fm to update scrobbles 2019-02-03 12:42:50 +02:00
Hugo cfb8134872 Only run test_scrobble on a single Python version to avoid collisions 2019-02-02 14:15: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 8bca1d2794 Keep flaky max_runs=3, sometimes build jobs overlap a bit 2018-05-27 20:58:33 +03:00
Hugo 000993c328 Fix test_cacheable_user[_artist_tracks] 2018-05-27 20:14:13 +03:00
Hugo b3a4ac5388 Fix: 'list' object has no attribute 'track' 2018-05-27 19:23:54 +03:00
Hugo 1d5e965183 Fix pep8-naming 2018-05-11 10:39:16 +03:00
Hugo 8def14de48 Tests no longer flaky, let's keep but reduce in case of temp net errors 2018-04-16 21:57:29 +03:00
Hugo f18fd3f758 TestPyLastWithLastFm and TestPyLastWithLibreFm now inherit from PyLastTestCase 2018-04-16 21:09:52 +03:00
Hugo 70aad87a1b Store track images for future use, refactor album image fetching 2018-04-16 19:02:32 +03:00
Hugo 60dea38d10 Add assert_startswith/endswith helper functions 2018-04-16 18:31:33 +03:00
Hugo fa601b8111 Refactor to store Album/Artist images in info dict 2018-04-16 09:53:31 +03:00
Hugo d1af8d3ebc Store artist images for future use 2018-04-15 23:43:39 +03:00
Hugo f923cd2c50 Replace print with logging 2018-04-15 21:55:08 +03:00
Hugo cf2d9113dd Add test for storing album images on search 2018-04-14 22:38:43 +03:00
Hugo a607dbe491 flake8 2018-04-08 16:45:36 +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 acdc23d7e7 Fix test case for changed test data 2018-03-01 11:24:53 +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
Chris Newton 9cb6f6e181 Added a test case for limits on track.getSimilar 2018-02-28 20:28:56 -07:00
Hugo 2703b6b385 Use more helpful asserts, remove redundant 2018-01-27 12:59:20 +02:00
Hugo 22e03705c4 Passing test for limit=1 or 50, failing test for 100 2018-01-11 10:37:01 +02:00
Hugo 9da36d15d7 Fix case-sensitive tests 2017-12-08 20:48:15 +02:00
Philip Trauner 8f515d8779 Fixed test in accordance to 36ed30cc2b 2017-11-02 19:24:45 +01:00
hugovk c601d2f365 Fix minor things from code inspection 2017-10-24 00:54:34 +03:00
hugovk cb1f760731 http -> https 2017-10-24 00:11:49 +03:00
hugovk 52636b6764 Work around Last.fm's 'Namespace prefix opensearch on totalResults is not defined' XML error 2017-10-24 00:04:05 +03:00
hugovk b559495366 Assume no illegal XML and no more skipping broken Last.fm 2017-10-20 00:51:34 +03:00
hugovk b55b40c3fe Remove dead Last.fm album/track get ID 2017-10-20 00:45:17 +03:00
hugovk 666181df50 Last.fm API broken but allow either yyyy-mm-dd or Unix timestamp 2017-10-20 00:39:02 +03:00
hugovk 00b6c0a619 Remove dead Last.fm tag.getSimilar 2017-10-20 00:32:40 +03:00
hugovk c0a25fbabe Remove dead Last.fm artist band members 2017-10-20 00:29:57 +03:00
hugovk 8f3628a638 More tests 2017-10-19 23:37:10 +03:00
hugovk f9a8bf3dae More tests 2017-10-19 00:55:20 +03:00
hugovk ebc5b29f5c Remove dead or broken Last.fm user functions 2017-10-19 00:46:23 +03:00
hugovk 5fd9e4c8c5 Remove dead or broken Last.fm user functions 2017-10-19 00:33:02 +03:00
hugovk f2b699a11f More tests 2017-10-18 23:48:02 +03:00
hugovk f70254b947 Remove dead Last.fm tag search 2017-10-18 22:31:15 +03:00
hugovk 58b93c847e WIP: More tests 2017-10-18 08:57:39 +03:00
hugovk 5ba51c1e2c Finish refactor 2017-10-17 23:18:35 +03:00
hugovk 2edfc108d1 Fix test import 2017-10-17 23:14:00 +03:00