def METHOD_NAME(mocker):
    """This mock is necessary since:
    If the osparc-gateway-server is running in the host then:
    - dask-scheduler must start with "" for --host, so the dask-scheduler defines its IP as being in docker_gw_bridge (172.18.0.X), accessible from the host
    When the osparc-gateway-server is running as a docker container, then the --host must be set
    as "cluster_X_scheduler" since this is the hostname of the container and resolves into the dask-gateway network
    """
    mocker.patch(
        "osparc_gateway_server.backend.osparc.get_osparc_scheduler_cmd_modifications",
        autospec=True,
        return_value={
            "--dashboard-address": f":{OSPARC_SCHEDULER_DASHBOARD_PORT}",
            "--port": f"{OSPARC_SCHEDULER_API_PORT}",
        },
    )