Forked from
funkwhale / funkwhale
6463 commits behind the upstream repository.
-
Toke Høiland-Jørgensen authored
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>
2f46d838
test_views.py 14.51 KiB