-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
files
pattern not handling str
and io.BytesIO
#261
Comments
Thanks @pierremonico. If you haven't already, please try #260 on your own code to rule out any new bugs. |
I've tested #260 within my codebase and all my expected tests worked. I've also added one containing a For reference, I've installed the fix from #260 within my environment running the following commands at the root of my project (with the virtual environment in which git clone [email protected]:lundberg/respx.git
cd respx
git checkout fix/files-pattern-io
pip install .
cd ..
rm -rf respx I believe you can |
When using the
files
parameter in a helper (http) function, bothstr
andio.BytesIO
payloads are not deemed equal and raise an error.Input
str
payloadio.BytesIO
payloadOutput
Error raised
The text was updated successfully, but these errors were encountered: