aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_legacy_api.py
Commit message (Collapse)AuthorAgeFilesLines
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-6/+6
|
* json.loads(request.body) => json.loads(response.body.decode()))Christopher Allan Webber2014-09-161-1/+1
| | | | | | This fixes python 3 stuff. This commit sponsored by James Reilly. Thanks, James!
* Fix test_legacy_api.pyChristopher Allan Webber2014-09-161-5/+6
| | | | | | | Or rather, reimplement one of Berker's fixes and add one of mine: - add back the http_auth_headers fix Berker wrote - decode to json when testing the response.body, since we have no idea what the order will be here
* Rename test_joarapi.py => test_legacy_api.pyJessica Tallon2014-07-221-0/+93