'Test handling of non-JSON bodies'

def test_non_json(self):

    (resp, content) = fake_response('}NOT    OK', {'status': '400'})
    error = HttpError(resp, content)
    self.assertEqual(str(error), '<HttpError    400    "Ok">')
