Replies: 1 comment 10 replies
-
Did passing file data like I'm not entirely clear what that gist is trying to accomplish, but it was also written 13 years ago before the test client was more developed. The fact that it's still useful to people is a bit alarming. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to test request.files, and haven't figured out a way to get a fake file to show up in request.files when I'm doing a post() to test_client. I found this gist for Flask:
https://gist.github.com/DazWorrall/1779861
Is that what I should be doing in Quart as well? (I'm surprised it requires a custom request class but that's okay if that's the case)
Beta Was this translation helpful? Give feedback.
All reactions