Add basic model tests
Merge request reports
Activity
added 2 commits
@georgkrause I may be reading this wrong, but I don't think we're using the right serializers for the
/api/v1/manage/{type}/{uuid}/stats
endpoints. These seem to be using thetype
serializer the same as/api/v1/manage/{type}/{uuid}
. I've included some example payloads to show what I mean.For example, look at the file
funkwhale_api_client/api/manage/manage_library_libraries_stats_retrieve.py
. In this file we have a GET operation that hits the endpoint/api/v1/manage/library/libraries/{uuid}/stats
. It asserts the returned value should be aManageLibrary
object, but the result I get from that endpoint very clearly isn't. This is the same for the otherstats
endpoints. I'll push some tests to highlight this now.
added 2 commits
added 2 commits
@Sporiff
favorites_all.json
is an empty file, is this intended?
@Sporiff How did you got
upload_for_owner.json
? The reply from my server looks totally different.