'Test a nicely formed, expected error response.'

def test_json_body(self):

    (resp, content) = fake_response(JSON_ERROR_CONTENT, {'status': '400', 'content-type': 'application/json'}, reason='Failed')
    error = HttpError(resp, content, uri='http://example.org')
    self.assertEqual(str(error), '<HttpError    400    when    requesting    http://example.org    returned    "country    is    required".    Details:    "error    details">')
