Commit graph

67 commits

Author SHA1 Message Date
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 aae4bb3693 Replace unittest with pytest 2020-06-01 15:50:27 +03:00
Hugo af036ec5d5 pre-commit autoupdate 2020-02-27 22:29:32 +02:00
Hugo d589c5ef8a Add pre-commit and fix isort 2019-09-26 10:31:49 +03:00
Hugo 4eec2e763d Only run test_love on a single Python version to avoid collisions 2019-02-03 12:51:44 +02: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 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 60dea38d10 Add assert_startswith/endswith helper functions 2018-04-16 18:31:33 +03:00
hugovk b559495366 Assume no illegal XML and no more skipping broken Last.fm 2017-10-20 00:51:34 +03:00
hugovk 5ba51c1e2c Finish refactor 2017-10-17 23:18:35 +03:00
hugovk 2aa4dbdf88 Split Last.fm/Libre.fm tests 2017-10-17 21:57:17 +03:00
hugovk 31aeb6e69a Continue tests refactor 2017-10-17 21:45:20 +03:00
Hugo 25f419204a Start tests refactor 2017-09-26 18:01:17 +03:00
Hugo a8522fded3 Bring back test_caching on another method 2017-09-26 11:04:02 +03:00
hugovk 0eac6e9ae2 Remove redundant functions 2017-09-26 09:14:24 +03:00
hugovk ec68660014 Remove dead Last.fm chart test 2017-09-26 09:08:40 +03:00
hugovk 27ba0dd6b3 Remove dead Last.fm metro methods 2017-09-26 08:58:37 +03:00
hugovk 230439f52f Remove dead Last.fm event/venu methods 2017-09-26 08:38:32 +03:00
Hugo 61216f73c0 Remove dead Last.fm artist/user methods 2017-09-25 18:36:02 +03:00
Hugo 454c519fd9 Remove dead Last.fm group methods 2017-09-25 18:29:12 +03:00
Hugo 6d738d3f43 Remove dead Last.fm artist/shout methods 2017-09-25 18:24:13 +03:00
Hugo 56e193d149 Remove dead Last.fm playlist methods 2017-09-25 18:11:48 +03:00
Hugo f419c39ef0 Remove dead Last.fm library methods 2017-09-25 18:03:00 +03:00
Hugo 3e097b98fc Remove @handle_lastfm_exceptions: dead Last.fm things will be removed 2017-09-25 17:49:12 +03:00
Hugo c303fd0139 Remove dead Last.fm attributes: releasedate in album.getInfo 2017-09-25 17:37:24 +03:00
Hugo 0d4f674ac7 Remove dead Last.fm methods: get_top_fans 2017-09-25 17:28:02 +03:00
Hugo d6281e3829 Merge pull request #217 from pylast/fix-collect-nodes
Fix: _collect_nodes() break if there are no child nodes
2017-09-25 14:54:09 +03:00
Hugo e19061a437 Re-enable test for re-added Last.fm API 2017-09-25 14:29:44 +03:00
Hugo fe6673ba29 Add more tests 2017-09-25 13:14:17 +03:00
Hugo 8baac12650 Merge pull request #215 from pylast/fix-unclosed-ssl-socket-warning
Fix unclosed SSLSocket warning
2017-09-18 15:26:01 +03:00
Hugo 8e99f2b04e Use different artists for test_set_tags and test_remove_tags to avoid parallel test collisions 2017-09-18 14:47:21 +03:00
Hugo bdd1b8d5e5 Add failing test 2017-09-18 14:13:00 +03:00
Hugo b852ec0a80 'Test Title' is now 'test title' 2017-07-07 18:27:26 +03:00
Isaacs, Ben 5f8be53750 Update tests for https / new i18n URL scheme 2017-07-07 12:06:33 +01:00
hugovk a9549030f4 flake8 2017-02-13 19:39:07 +02:00
Hugo 210789a5fe Update error message for test_init_with_token
https://github.com/pylast/pylast/pull/198#issuecomment-279208373
2017-02-13 09:01:04 +02:00
Jace Browning 80f391761c Support authentication tokens to construct networks
Closes #193
2017-02-06 22:44:15 -05:00
hugovk 76d85f4c19 Update libre.fm test 2017-01-02 15:25:21 +02:00
hugovk 571edf23d9 Separate Libre.fm test from Last.fm tests 2016-10-30 12:25:10 +02:00
hugovk 4732bf3750 Skip tests if Last.fm API still broken 2016-04-23 15:46:49 +03:00
hugovk ea33074941 Skip test if Last.fm API still broken 2016-04-23 15:28:07 +03:00
hugovk 4c8d2e2a9b Split test into passing and failing tests 2016-04-23 15:27:28 +03:00
hugovk 8195725500 Skip tests if Last.fm API still broken 2016-04-23 14:48:29 +03:00
hugovk f17929e6cb Skip more tests which fail due to the (still) broken Last.fm API 2016-01-08 11:04:02 +02:00
hugovk 950c2e78ca Skip tests which fail due to the (still) broken Last.fm API 2016-01-07 18:09:28 +02:00