Commit graph

  • 781df0c94f Remove duplicate line, Make test_pylast.py runnable as main again. Ivan Malison 2015-01-07 23:31:07 -0800
  • f1e14f591c add credentials for IvanMalison/pylast. Ivan Malison 2015-01-07 19:39:09 -0800
  • 6d84446f03 Add failing test for #114 Ivan Malison 2015-01-07 19:27:28 -0800
  • f2f8ca086d add posargs to tox tests. Ivan Malison 2015-01-07 19:25:41 -0800
  • 6e6ff1a417 Get rid of --doctest-modules in py.test command. Ivan Malison 2015-01-07 18:20:30 -0800
  • b66ee21ce0 Consolidate travis environments. separate matrix and global environment variables. Ivan Malison 2015-01-07 18:04:46 -0800
  • a64d562ae2 Add tox to travis installation. Ivan Malison 2015-01-07 18:00:36 -0800
  • ca66e74099 tox/travis stuff. making testing more uniform. Ivan Malison 2015-01-07 17:57:04 -0800
  • c2b03afe55 Don't encode strings as 'utf-8' twice in _get_cache_key. Closes #109. Ivan Malison 2015-01-05 15:55:45 -0800
  • 387220c1d6 Make pylast a package. Move tests into a directory. Start using pytest and tox. Use setuptools instead of distutils. Ivan Malison 2015-01-05 15:52:02 -0800
  • 123951517a Merge pull request #111 from hugovk/master Hugo 2015-01-06 11:59:18 +0200
  • 9b9dc2e2c5 Remove unused import hugovk 2015-01-05 23:20:22 +0200
  • aa022c5a71 Don't use .build file for minor version because we define the full version in pylast.py as well hugovk 2015-01-05 23:19:23 +0200
  • cf821de171 Merge pull request #108 from IvanMalison/master Hugo 2015-01-05 22:55:01 +0200
  • a0127432f8 Fix word in SessionKeyGenerator comment. Ivan Malison 2015-01-05 10:16:07 -0800
  • 79d741269a Fix params hugovk 2014-12-26 23:32:21 +0200
  • 24f49074bf Fix params hugovk 2014-12-26 23:20:39 +0200
  • 5a15b3b6a6 Fix params hugovk 2014-12-26 23:13:40 +0200
  • 04d26a2c79 Fix params hugovk 2014-12-26 23:12:18 +0200
  • 2e56084974 Remove asserts which can fail hugovk 2014-12-26 18:57:22 +0200
  • 0a158e7238 Landscape.io fixes hugovk 2014-12-26 17:31:10 +0200
  • 0ae79be3a0 Add pypy3; track coverage in Scrutinizer hugovk 2014-12-26 17:16:41 +0200
  • f74451a9af Merge pull request #107 from hugovk/master Hugo 2014-12-26 17:07:42 +0200
  • 59769d31d6 Use Docker hugovk 2014-12-26 15:28:25 +0200
  • 098b747d8b Merge remote-tracking branch 'upstream/master' hugovk 2014-12-24 16:57:15 +0200
  • 32a6235f32 Merge pull request #104 from looperhacks/patch-1 Hugo 2014-12-23 12:05:45 +0200
  • 813a72b61a Update pylast.py Peter Jeschke 2014-12-23 11:02:42 +0100
  • 3941fd8ab5 Make test more robust hugovk 2014-12-18 21:13:28 +0200
  • 8a53afd41b Badges! [CI skip] hugovk 2014-12-18 21:09:22 +0200
  • 3e4127bf6a Merge remote-tracking branch 'upstream/master' hugovk 2014-12-18 21:03:03 +0200
  • 8670a2f2d1 Merge pull request #101 from pylast/extend_get_recent_tracks Hugo 2014-10-25 17:51:45 +0300
  • bd9c351b21 Add from/to parameters to get_recent_tracks() Hugo 2014-10-25 15:52:01 +0300
  • ab63e85ad6 Merge pull request #100 from pylast/bandmembers Hugo 2014-10-25 15:02:27 +0300
  • def9b2414a Fix chart tests that failed due to date ranges (take 2) Hugo 2014-09-11 15:37:17 +0300
  • 56d1f2791f Fix chart tests that failed due to date ranges Hugo 2014-09-11 15:29:25 +0300
  • 2fea3a1b46 Last.fm returns no results for artist.getsimilar with limit=1, but limit=2 returns 2 Hugo 2014-09-11 15:17:47 +0300
  • bc7433990b Fix comparison with None for artist, album and event, with test. For #97. Hugo 2014-09-11 15:07:02 +0300
  • e117a2b57c Add artist.get_band_members() with tests Hugo 2014-08-27 00:16:59 +0300
  • ff69189a6d Add PyPI version badge Hugo 2014-08-25 00:12:27 +0300
  • 40c964a18c Add badge for number of PyPI downloads Hugo 2014-08-20 13:01:27 +0300
  • f2b0237d61 Merge pull request #96 from kiliankoe/master Hugo 2014-08-20 12:57:35 +0300
  • 0058c8b832 syntax highlighting in readme Kilian Koeltzsch 2014-08-20 01:18:41 +0200
  • 862ae11cfa Fix opus comparison with None hugovk 2014-08-18 16:24:01 +0300
  • a2e9fad56c Update install instructions now 1.0.0 is on PyPI 1.0.0 Hugo 2014-07-29 18:54:03 +0300
  • 1e3551e611 Bump version to 1.0.0 hugovk 2014-07-29 17:43:44 +0300
  • f5c8ad3d7d Merge pull request #94 from hugovk/master Hugo 2014-07-25 17:07:27 +0300
  • b4ea08a378 Change URL, add classifiers and keywords hugovk 2014-07-25 17:01:14 +0300
  • 28f6293739 Merge pull request #93 from hugovk/master Hugo 2014-07-25 12:21:48 +0300
  • 23e4ae5c1a Change URLs from hugovk to pylast hugovk 2014-07-25 11:22:14 +0300
  • f3d31c9629 Check streamable is Boolean rather than a True/False value hugovk 2014-05-25 13:23:10 +0300
  • 6a3ba02931 Check lowercase album title hugovk 2014-05-25 13:17:58 +0300
  • db3ed0fc3c Add country tests hugovk 2014-04-07 13:18:36 +0300
  • 1453e5137c Add event tests and fix a bug they found hugovk 2014-04-07 13:12:40 +0300
  • d274ef6a3a Add some artist tests hugovk 2014-04-07 12:55:23 +0300
  • 9243e98b94 Test some tag functions hugovk 2014-04-07 12:29:50 +0300
  • 50f1a0ac8f Sometimes the lastest date range doesn't yet have charts, so get the latest-but-one hugovk 2014-04-07 11:53:01 +0300
  • 5f69aa591c Add cacheable parameter to get_neighbours() hugovk 2014-04-07 11:49:40 +0300
  • 1c26ef6d24 Fix tests hugovk 2014-04-07 11:41:41 +0300
  • 3bf73a21ff Test set_tags() hugovk 2014-04-07 10:55:57 +0300
  • b9d2ca8507 Fix test hugovk 2014-04-05 00:51:18 +0300
  • e4ccd8b767 More tests. Don't bother with failing Py2.6 or 3.2, they're unsupported. hugovk 2014-04-05 00:30:33 +0300
  • adbe8a8500 Refactor network names. Add some tag tests. Add stress test option. Add extra Python versions as allowed failures to Travis. hugovk 2014-04-04 21:53:45 +0300
  • e28e2ef0d0 Test failed because a London event was in the 'city' of Camden. Let's try Manchester instead. hugovk 2014-03-21 17:39:06 +0200
  • 536203fdb8 Remove print from test hugovk 2014-03-21 15:20:10 +0200
  • 7fb56b1d28 Add some more tests hugovk 2014-03-21 14:58:33 +0200
  • 7a3072b52c Add some Playlist tests hugovk 2014-03-17 23:14:51 +0200
  • 862f7fe45c Add some Playlist tests hugovk 2014-03-17 22:48:08 +0200
  • 7019b1b946 Python 3 fix: DeprecationWarning: Please use assertRaisesRegex instead hugovk 2014-03-12 15:32:27 +0200
  • 506bee4fe4 Python 3 fix: DeprecationWarning: Please use assertRaisesRegex instead hugovk 2014-03-12 15:18:24 +0200
  • 20b9bdedd2 Python 3 fix: Unicode-objects must be encoded before hashing hugovk 2014-03-12 13:43:41 +0200
  • 181ad7b6c9 Remove deprecated .has_key() hugovk 2014-03-12 13:16:23 +0200
  • e09c480980 Move chart methods out of _BaseObject and into their own _Chartable so they can only be used by relevant classes (Group, Tag, User) hugovk 2014-03-11 17:02:13 +0200
  • 13f642f375 Replace assertEqual(type(x), y) with assertIsInstance(x, y) hugovk 2014-03-08 22:02:39 +0200
  • 014b76d118 Jiggle tests for CI so Clone Digger can run on 2.x. It doesn't yet support 3.x and will fail but shouldn't fail the build. hugovk 2014-03-08 21:18:44 +0200
  • 09685547f0 Move check.sh to after_script: so Unix exit codes are ignored hugovk 2014-03-08 12:15:14 +0200
  • df6cad0298 Do the other static checks, but not clonedigger hugovk 2014-03-08 12:09:25 +0200
  • d81145cb33 Do the other static checks, but not clonedigger hugovk 2014-03-08 12:05:53 +0200
  • a209bce183 Remove clonedigger from Travis build, it errors. See #90. hugovk 2014-03-08 12:03:41 +0200
  • bd9f658de8 Add static analysis to the CI build hugovk 2014-03-08 11:16:41 +0200
  • 2254430b39 Remove duplication into _extract_top_albums(doc, network) hugovk 2014-03-08 01:13:08 +0200
  • 2235899c98 Remove duplication into _extract_top_artists(doc, network) hugovk 2014-03-08 00:53:31 +0200
  • c3d99385ff Re-add get_weekly_album_charts(), get_weekly_artist_charts() and get_weekly_charts() helper functions hugovk 2014-03-07 20:22:14 +0200
  • 4c4e3bfbba Move duplication into get_bio(), keeping existing get_bio_XXX() to call it hugovk 2014-03-07 16:01:54 +0200
  • 4c94c8e53f Reinstate get_wiki_published_date(), get_wiki_summary() and get_wiki_content() as they may already be used by third parties. Add command-line options to the test. hugovk 2014-03-07 14:44:19 +0200
  • 46b86b57da Create abstract, internal _Opus class for common stuff used by Album and Track hugovk 2014-03-07 14:04:37 +0200
  • d5b536d51c Test: Use a unique filename for picking and delete it afterwards. Allows concurrent testing. hugovk 2014-03-07 10:35:24 +0200
  • 5d62680753 Fix a test. Asked for a New York gig and got a Brooklyn one. Let's try London instead. hugovk 2014-03-07 10:23:10 +0200
  • d3dba1475a Refactor and mark artist.getimages as deprecated hugovk 2014-03-07 09:41:21 +0200
  • 342bb94045 Refactor get_wiki things to remove duplication hugovk 2014-03-06 23:05:23 +0200
  • ac87cee29d Refactor shouts to duplicate code hugovk 2014-03-06 18:11:39 +0200
  • 7cb8a654ec Move get_wiki_published_date(), get_wiki_summary(), get_wiki_content() up to _BaseObject to remove duplication in Album and Track. Already has test cases. hugovk 2014-03-06 16:26:50 +0200
  • 0747d5d20e Move share() up to _BaseObject, removing duplication in Artist, Event and Track hugovk 2014-03-06 16:21:19 +0200
  • caea5e129a Move get_top_fans up to _BaseObject, removing duplication in Artist and Track hugovk 2014-03-06 15:23:33 +0200
  • 73cf5b3068 Move weekly charts getters to _BaseObject, removes duplication between group, tag and user hugovk 2014-03-06 14:30:02 +0200
  • 6301a5c670 Add _get_things to remove duplication hugovk 2014-03-06 11:42:20 +0200
  • 1d532c0363 Run pyflakes and pep8 and update hugovk 2014-03-05 18:11:57 +0200
  • 779af598db Refactor to include limit parameter to reduce bandwidth\n\nRefactor calls to chart.getTopArtists, chart.getTopTracks, tag.getTopTags and user.getTopTags to include the limit parameter (where available) to reduce the size of data sent by Last.fm.\n\nFor example, getting limit=1 can reduce receiving 101 items to 1, making the test take 0.5s rather than 1.2s.\n\nAlso return a list of TopItems rather than just items, and add cacheable parameter. hugovk 2014-03-05 10:29:16 +0200
  • 4698993421 Jiggle the tests to increase coverage a bit hugovk 2014-03-05 01:29:58 +0200
  • f8f9226e94 Remove a couple of resource warnings from not closing files hugovk 2014-03-05 01:01:27 +0200
  • 2a48ccf369 The CI got different Spotify IDs to my computer. Generalise the tests. For #74. hugovk 2014-03-05 00:51:20 +0200