Having a problem getting my pytests to run successfully after push to GitHub #2402
-
I have a FastAPI application that's using httpx, and I'm having trouble getting the pytests to run successfully in the GitHub environment when I push the code. The tests run fine when run in a local Docker container. Here's my Dockerfile
And here's the
Here's the
And here's part of the errors generated when run in the GitHub environment:
My apologies if this isn't the right forum to be asking this, but I'm at my wits end trying to resolve this. Any ideas, pointers or suggestions are welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The error is indicating that you've passed It looks like that must be originating here... app/helpers/cognito_helper.py:59: in call_cognito
request = httpx.Request("GET", url=url, json=body) Can't really help beyond that. Looks like |
Beta Was this translation helpful? Give feedback.
The error is indicating that you've passed
None
instead of a valid argument toURL()
...It looks like that must be originating here...
Can't really help beyond that. Looks like
httpx
raising a valid error when passed an incorrect argument. (None
for the url)