Record raw responses
With the shift to returning raw responses from requests instead of the extracted text, we need to record them the same way for later replay. Change-Id: I506078cb74e3d15db8a28bef1174e914a8ca1d1b
This commit is contained in:
parent
b9d85a8399
commit
bacf2631c1
@ -43,7 +43,7 @@ def requester(
|
||||
print("Queried: %s" % response.url)
|
||||
if mode == 'record':
|
||||
# In record mode, also save a copy of the query results to replay
|
||||
recording[(url, params)] = response.text
|
||||
recording[(url, params)] = response
|
||||
|
||||
return response
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user