def METHOD_NAME(flask_client):
    login(flask_client)
    r = flask_client.post(
        url_for("api.new_random_alias"),
    )
    assert r.status_code == 201
    assert r.json["alias"].endswith(EMAIL_DOMAIN)