Commit graph

1039 commits

Author SHA1 Message Date
hugovk 023828c07a Fix indentation 2014-03-03 09:04:40 +02:00
hugovk 954e32a819 Rename test_pylast_example.yaml -> example_test_pylast.yaml (makes tab-autocompletion happier) 2014-03-03 08:59:36 +02:00
hugovk c57afec43f Info from Google Code page plus how to test 2014-03-03 08:52:06 +02:00
hugovk 2d861dcb10 Cast string of total to int, for #71 2014-03-02 22:58:30 +02:00
hugovk c6c8d45635 Apply patch to fix illegal XML characters, closes #71 2014-03-02 22:54:02 +02:00
hugovk 6db87f8a27 Library, Playlist, XSPF and Group now also hashable, with a helper function to reduce test duplication. For #82. 2014-03-02 20:17:34 +02:00
hugovk b29b002b70 Merge branch 'master' of https://github.com/hugovk/pylast 2014-03-02 19:38:40 +02:00
hugovk 9d5d56ceaf Country and Venue now hashable, for #82 2014-03-02 19:34:55 +02:00
hugovk d6ef6e1384 Add Coveralls coverage badge 2014-03-02 19:01:27 +02:00
hugovk d0c80c8b4e Attempt coverage with coveralls 2014-03-02 18:55:32 +02:00
hugovk 3257a2b178 Events and tags are now hashable 2014-03-02 18:40:47 +02:00
hugovk c3bf1f0a06 Add tests for hashable events and tags, for #82 2014-03-02 18:35:40 +02:00
hugovk 3fe197bbcc Hashable artist and album, for #82 2014-03-02 14:46:13 +02:00
hugovk 1b5a09b404 Add build status 2014-03-02 14:31:28 +02:00
hugovk 6fa52100c3 Should fix hashable user on 3.3, for #82 2014-03-02 14:12:47 +02:00
hugovk 14293aacca Add test for hashable user. Should fail on 3.3. / cc #82 2014-03-02 14:09:57 +02:00
hugovk 06a05361a5 Run all tests 2014-03-02 14:01:33 +02:00
hugovk 6caed64f75 Use random album or artist to avoid problems running concurrent tests on CI 2014-03-02 14:01:08 +02:00
hugovk 6b47ae15b7 Add possible partial fix for #82 2014-03-02 13:12:14 +02:00
hugovk d125afd45f When getting last scrobbled track, need to get at least two recent tracks because the last may be a now-playing and thus ignored. 2014-03-02 12:28:14 +02:00
hugovk b83113bda5 Add debugging for Python 3.3 2014-03-02 12:19:22 +02:00
hugovk e90f433e5e Add debugging for Python 3.3 2014-03-02 12:17:22 +02:00
hugovk 892ccd3585 Add debugging for Python 3.3 2014-03-02 12:13:50 +02:00
hugovk 7887242e84 Add debugging for Python 3.3 2014-03-02 12:11:39 +02:00
hugovk f3c583359d Remove 2.6 and 3.2, keep 2.7 and 3.3. At least assertGreater() and some others are new in 2.7. 2014-03-02 12:04:44 +02:00
hugovk fa994f862a Fix Travis 2014-03-02 11:54:20 +02:00
hugovk baa4e782b6 If no secrets file, load from environment variables. For Travis CI testing. 2014-03-02 11:49:46 +02:00
hugovk 897d0a132c Fix command path 2014-03-02 11:06:29 +02:00
hugovk 6b91e6f8e5 Add .travis.yml 2014-03-02 11:04:46 +02:00
hugovk f4e1cb7448 Add test case for #82. Passes as expected with Python 2.7, but need to test in 3 2014-03-02 10:28:44 +02:00
hugovk 0246fa45d5 Simplify unix_timestamp() 2014-03-02 10:15:47 +02:00
hugovk 44318fccc4 Album.get_top_tracks now returns TopItems. Closes #86. 2014-03-02 10:00:26 +02:00
hugovk e388db1e2f ws_server for LibreFMNetwork is now alpha.libre.fm, not alpha.dev.libre.fm. Closes #79. 2014-03-02 00:25:29 +02:00
hugovk 3e5e371b29 Really add library.removeArtist, closes #84 2014-03-02 00:04:30 +02:00
hugovk bdb429cc8a Add test for adding artist, and allow artist as Artist or string 2014-03-01 23:54:45 +02:00
hugovk 7eb640fa88 Add library.removeArtist, closes #84 2014-03-01 23:41:44 +02:00
hugovk 880e160f64 Attempt to reproduce #77 but cannot reproduce. Closes #77. 2014-03-01 17:43:25 +02:00
hugovk 0d67c1e309 Test case to verify #66 is fixed by #64. Closes #66. 2014-03-01 17:10:28 +02:00
hugovk 16079468ab Fix getting now playing for user with no scrobbles. Closes #81. 2014-03-01 16:57:29 +02:00
hugovk f59d2cc680 Fix comparison of User to other types. Closes #75. 2014-03-01 16:44:13 +02:00
hugovk 0d483234d4 Add test case for bug already fixed by @inversion in c8216a139e. Closes #64. 2014-03-01 16:28:40 +02:00
hugovk 5324aacd83 Apply typo patch, closes #85. 2014-03-01 16:25:19 +02:00
hugovk 50bb692383 Add track.unlove, closes #65 2014-03-01 15:57:00 +02:00
hugovk 4ae2e08539 Remove debug prints 2014-03-01 13:00:17 +02:00
hugovk e7153965f0 Move secrets out to test_pylast.yaml and provide an example. 2014-03-01 12:59:07 +02:00
hugovk 56f3666ced If no country, return None rather than Country class. Fixes http://stackoverflow.com/q/14609467/724176 2014-03-01 12:36:35 +02:00
hugovk 6d5c818ad0 Fix up some missing stuff after grafting 2014-02-28 11:20:01 +02:00
hugovk ab2b605c8f Remove pointless empty comments 2014-02-27 20:16:29 +02:00
hugovk 552c45f18f Get user's registration date (and as a UNIX timestamp) 2014-02-27 20:14:32 +02:00
hugovk 1c1f56a62d Remove unix timestamp duplication 2014-02-26 20:26:08 +02:00