funkwhale/api/tests/subsonic
Toke Høiland-Jørgensen 2f46d83834 subsonic: Catch ValueError when casting input parameters
A failed cast to int will raise ValueError, which is not currently caught
by the error checking code, leading to a crash. Fix this so a proper error
message can be returned.

Also add test for getting artist with non-numeric ID.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:18:02 +02:00
..
test_authentication.py Fix #339: Subsonic API login is now case insensitive 2018-06-28 16:47:45 +02:00
test_renderers.py See #297: linting of various, uncommon errors 2018-06-10 12:06:46 +02:00
test_serializers.py Blacked the code 2018-06-09 15:36:16 +02:00
test_views.py subsonic: Catch ValueError when casting input parameters 2018-08-30 14:18:02 +02:00