File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def data(self):
7979
8080 async def raw_content (self ):
8181 if self ._raw_content is None :
82- self ._raw_content = await self ._response .content . read ()
82+ self ._raw_content = await self ._response .read ()
8383 return self ._raw_content
8484
8585 async def content (self ):
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def test__is_compressed_not(self):
4040 @pytest .mark .asyncio
4141 async def test_raw_content (self ):
4242 mock_response = mock .AsyncMock ()
43- mock_response .content . read .return_value = mock .sentinel .read
43+ mock_response .read .return_value = mock .sentinel .read
4444 combined_response = aiohttp_requests ._CombinedResponse (response = mock_response )
4545 raw_content = await combined_response .raw_content ()
4646 assert raw_content == mock .sentinel .read
@@ -53,7 +53,7 @@ async def test_raw_content(self):
5353 @pytest .mark .asyncio
5454 async def test_content (self ):
5555 mock_response = mock .AsyncMock ()
56- mock_response .content . read .return_value = mock .sentinel .read
56+ mock_response .read .return_value = mock .sentinel .read
5757 combined_response = aiohttp_requests ._CombinedResponse (response = mock_response )
5858 content = await combined_response .content ()
5959 assert content == mock .sentinel .read
You can’t perform that action at this time.
0 commit comments