def METHOD_NAME(
    app_,
    client,
    api_user_active,
    mock_login,
    mock_send_verify_code,
    mock_get_user_by_email_request_password_reset,
):
    data = json.dumps(
        {
            "email": api_user_active["email_address"],
            "created_at": str(datetime.utcnow()),
            "password_expired": False,
        }
    )
    token = generate_token(data, app_.config["SECRET_KEY"])
    response = client.get(url_for_endpoint_with_token(".new_password", token=token))
    assert response.status_code == 200
    assert "Your password must have:" in response.get_data(as_text=True)