Beispiel #1
0
def test_client_login_error(client: SyncClient, email: str, password: str):
    with pytest.raises(exceptions.LoginError):
        client.login(email, password)
Beispiel #2
0
def test_client_login(client: SyncClient):
    client.login(
        remember_me_cookie=os.environ.get("TEST_LOGIN_REMEMBER_ME_COOKIE"),
    )
    assert client.logged_in is True
    assert client.codingamer is not None