Created
January 18, 2022 08:10
-
-
Save antonyc/bf6bba372071ef6c380c18aa92106653 to your computer and use it in GitHub Desktop.
chapson quick paste
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================================================= ERRORS ========================================================= | |
___________________________________________ ERROR at setup of test_token_auth ____________________________________________ | |
username = 'jvuuivpocs' | |
@pytest.fixture(scope="session") | |
def cloud_user(username): | |
""" | |
Provide a new cloud app user | |
""" | |
resp = requests.post( | |
"http://localhost:3000/", | |
{ | |
"email": f"{username}@example.com", | |
"password": "password", | |
"password_confirmation": "password", | |
"invite": "LOCAL", | |
}, | |
allow_redirects=False, | |
) | |
> assert resp.status_code == 302 | |
E assert 403 == 302 | |
E +403 | |
E -302 | |
fixtures/user.py:40: AssertionError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment