Replies: 1 comment
-
I imagine you were able to solve your problem, thanks for closing the issue. Feel free to add more comments or create new issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Can't use test client in pytest with add_exception_handler or add_middleware called before. After called add_exception_handler or add_middleware, test_client.get or test.client.put etc always returns 200.
To Reproduce
Steps to reproduce the behavior:
Environment:
OS: macOS
FastAPI Version: '0.29.0'
Python version
3.7
Beta Was this translation helpful? Give feedback.
All reactions