Fix test_legacy_api.py
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 16 Sep 2014 19:37:36 +0000 (14:37 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 16 Sep 2014 19:37:36 +0000 (14:37 -0500)
commit58a7292fed40cfad3cb386f016505d2e0ec43ad2
treec2b32563373feea2c824a2ed7ef6c82b82677945
parent3a02813c7a70bb2e919101343a0680fe1aa34a81
Fix test_legacy_api.py

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
mediagoblin/tests/test_legacy_api.py