Fixed failing test due to ordered dicts in python 3.8

This commit is contained in:
Eliot Berriot 2020-02-04 11:49:58 +01:00
commit 93c371fe75
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
2 changed files with 3 additions and 3 deletions

View file

@ -7,10 +7,10 @@ import funkwhale_api
def structure_payload(data):
payload = {
"status": "ok",
"version": "1.16.0",
"type": "funkwhale",
"funkwhaleVersion": funkwhale_api.__version__,
"status": "ok",
"type": "funkwhale",
"version": "1.16.0",
}
payload.update(data)
if "detail" in payload: