Skip to content

Function needs complete address to work #2

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

Open
Grifo89 opened this issue Sep 9, 2022 · 2 comments
Open

Function needs complete address to work #2

Grifo89 opened this issue Sep 9, 2022 · 2 comments

Comments

@Grifo89
Copy link

Grifo89 commented Sep 9, 2022

response = await default_client.post("/user/signup", json=payload, headers=headers)
It's throwing me an error. Solution was response = await default_client.post("http://localhost:8080/user/signup", json=payload, headers=headers)

@Grifo89
Copy link
Author

Grifo89 commented Sep 9, 2022

It's because the fixture is not working properly, I changed it to @pytest_asyncio and it works well and also there is an error on the base_url in the default_client()

@badlydrawnrob
Copy link

@Grifo89 Did you manage to fix all the Errata in the book? There are a few typos for sure. I could also use some info about issue #10 (dot notation syntax) which is stumping me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants