def METHOD_NAME(client, db_session, example_user):
    res = client.post(
        "api/v1/auth/login",
        json={
            "email": "test@email.com",
            "password": "my_password",
        },
    )
    assert res.status_code == 200
    user_id = decode_token(res.json["access_token"])["sub"]
    db_user = db_session.query(User).filter(user_id == User.id).first()
    assert db_user.email == example_user.email
    assert res.status_code == 200