diff --git a/sanic/testing.py b/sanic/testing.py index 4fde428c..611f709d 100644 --- a/sanic/testing.py +++ b/sanic/testing.py @@ -22,8 +22,8 @@ class SanicTestClient: cookies=cookies, connector=conn) as session: async with getattr( session, method.lower())(url, *args, **kwargs) as response: - response.text = await response.text() - response.body = await response.read() + # response.text = await response.text() + # response.body = await response.read() return response def _sanic_endpoint_test(