Rename test_requests to test_ratelimit

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Add tests for the useragent and methods

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
set_useragent: Make sure app and version are not empty

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Parse URL relations in artist data.

Reported by Julian Wintermayr
Signed-off-by: Alastair Porter <alastair@porter.net.nz>
Added a new valid include to browse_releases
Signed-off-by: Patrick Speiser <doskir@gmail.com>
Merge branch 'master' of https://github.com/doskir/python-musicbrainz-ngs

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
add VALID_BROWSE_INCLUDES

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Changes for MBS-209: Add annotations to the web service

This does *not* include searching annotations because there's no
documentation for that (http://tickets.musicbrainz.org/browse/SEARCH-248).

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Added support for alias-list to artist entities

Signed-off-by: Sam Doshi <sam@metal-fish.co.uk>
Added support for alias-list to label entities

Signed-off-by: Sam Doshi <sam@metal-fish.co.uk>
Added support for alias-list to work entities

Signed-off-by: Sam Doshi <sam@metal-fish.co.uk>
Merge pull request #83 from samdoshi/aliases

Add support for attributes for aliases (fixes: #82)
Handle socket timeout errors

These errors can occur transiently, so we now retry when socket.timeout is
raised.

Signed-off-by: Adrian Sampson <adrian@radbox.org>
Added 'aliases' to more entities in VALID_INCLUDES

recording, release-group and release lookups now support aliases
as valid includes

Signed-off-by: Sam Doshi <sam@metal-fish.co.uk>
Merge pull request #86 from samdoshi/aliases

Added 'aliases' to more entities in VALID_INCLUDES
added travis-ci support, update tox config

travis-ci:
Needs an install, otherwise travis tries rake/requirements.txt
Python 3.3 is the latest, we should test for this.
Previous Python 3 versions are not as important.
The base version, Python 2.6 is important though.
We should check every branch and also pull-requests.
So we just exclude branches were we know we will fail (gh-pages, old).

tox:
Remove pypy (having it in travis should be enough)
Remove 3.1 (old), add 3.3 latest
Not even sure if tox.ini should be in the repo or rather
having a local one (with the versions installed) is better.

Adding travis-ci support was proposed by Sam Doshi.

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
re-add Python 3.2 to travis-ci config

As it turns out, there are some problems that arise with Python 3.2,
but don't arise with Python 3.3 anymore.
Python 3.1 is not in the list of supported versions on travis-ci.

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
Add support for annotation searches

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Fix the sphinx-build detection

The former way was only working with a sphinx-build binary, it was first
calling sphinx-build2 without any argument and then sphinx-build with
them.

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
doc: force default style for MB colors

Signed-off-by: Johannes Dewender <github@JonnyJD.net>