commit | d4e1456dada624f9a76031634f0e21b5055112d3 | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Tue Jan 04 09:51:45 2011 -0500 |
committer | Joe Gregorio <jcgregorio@google.com> | Tue Jan 04 09:51:45 2011 -0500 |
tree | f3126f7bc6846a1e50a537a3162f78c21ee7fb90 | |
parent | a14f016e3cae717e7a3e340f23013dc5b1f7ac18 [diff] [blame] |
Fix some other tests broken by the new HttpError implementation
diff --git a/tests/test_json_model.py b/tests/test_json_model.py index 5ce9b63..c9c9b7d 100644 --- a/tests/test_json_model.py +++ b/tests/test_json_model.py
@@ -114,7 +114,7 @@ model = JsonModel() resp = httplib2.Response({'status': '401'}) resp.reason = 'Unauthorized' - content = '{"error": "not authorized"}' + content = '{"error": {"message": "not authorized"}}' try: content = model.response(resp, content)