"content-type": ["text/html; charset=utf-8"],
},
"body": {
- "string": ""
+ "string": b""
}
}
response = VCRHTTPResponse(recorded_response)
def test_response_headers_should_be_equal_to_msg():
recorded_response = {
"status": {
- "message": "OK",
+ "message": b"OK",
"code": 200
},
"headers": {
"content-type": ["text/html; charset=utf-8"],
},
"body": {
- "string": ""
+ "string": b""
}
}
response = VCRHTTPResponse(recorded_response)
"content-type": ["text/html; charset=utf-8"],
},
"body": {
- "string": ""
+ "string": b""
}
}
response = VCRHTTPResponse(recorded_response)