tests/components/google/conftest.py
def google_config(google_config_track_new: bool | None) -> dict[str, Any]:
    """Fixture for overriding component config."""
    google_config = {CONF_CLIENT_ID: "client-id", CONF_CLIENT_SECRET: "client-secret"}
    if google_config_track_new is not None:
        google_config[CONF_TRACK_NEW] = google_config_track_new
    return google_config
Fixture for overriding component config.
Fixture for overriding component config.
Fixture for overriding component config .
def google_config(google_config_track_new: bool | None) -> dict[str, Any]:
    google_config = {CONF_CLIENT_ID: "client-id", CONF_CLIENT_SECRET: "client-secret"}
    if google_config_track_new is not None:
        google_config[CONF_TRACK_NEW] = google_config_track_new
    return google_config
def google_config ( google_config_track_new : bool | None ) -> dict [ str , Any ] : google_config = { CONF_CLIENT_ID : "client-id" , CONF_CLIENT_SECRET : "client-secret" } if google_config_track_new is not None : google_config [ CONF_TRACK_NEW ] = google_config_track_new return google_config
Fixture for overriding component config.
Fixture for overriding component config .
"""Fixture for overriding component config."""
google_config_track_new
bool | None