httpx giving UnsupportedProtocl error while running tests #1643
Unanswered
onlinejudge95
asked this question in
Potential Issue
Replies: 1 comment 1 reply
-
You're probably not setting We should probably include more information in that exception to make it clear what the full requested URL was, and make it more obvious that it was missing the "https://" or "http://" portion. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While implementing a unit test for a FastAPI server particularly in a GET route in which I am using
httpx
to send a get request(with some query params) to another service, I am receiving the following errorThe test in question is
For full traceback please refer to the following GitHub action run
My entire codebase can be found here
Link to the failing test file
Link to System under test
Beta Was this translation helpful? Give feedback.
All reactions