HTTPretty
HTTPretty copied to clipboard
double calls
I am not familiar with the code base, but I caught this bug while doing some moto work.
In core.py, line 256:
if last_entry.body_is_callable: last_entry.callable_body(last_entry.request, last_entry.info.full_url(), request_headers)
then in line 444 the callable_body is called again if the user call getResponse for boto.
This caused my code to call delete twice, and the second one would throw an exception.
Looks like the codebase has changed a bit since you posted this BR. Could you provide an example program that triggers this bug ?