0

Here is the code below:

response = requests.get("xyx@.com", stream=True)
data = response.raw.read()

i want to mock "response.raw.read()" , i know several options for mocking requests.get but i need to mock the 2nd line of code.

j suman
  • 127
  • 4

0 Answers0