We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fastapi-course/tests/test_users.py
Line 27 in d8059d9
I had to modify "/login" to "/login/" to get a 200 Http Response, otherwise you will be redirected and the assertion will raise an error.
res = client.post("/login", data={"username": test_user['email'], "password": test_user['password']}) > assert res.status_code == 200 E assert 307 == 200 E +307 E -200 tests\test_users.py:92: AssertionError ================================================================== short test summary info ================================================================== FAILED tests/test_users.py::test_login - assert 307 == 200```
The text was updated successfully, but these errors were encountered:
No branches or pull requests
fastapi-course/tests/test_users.py
Line 27 in d8059d9
I had to modify "/login" to "/login/" to get a 200 Http Response, otherwise you will be redirected and the assertion will raise an error.
The text was updated successfully, but these errors were encountered: