hass-core/tests/components/google_travel_time/const.py
Kevin Stillhammer 93fa9e778b
Add reconfigure step for google_travel_time (#115178)
* Add reconfigure step for google_travel_time

* Do not allow to change name

* Duplicate tests for reconfigure

* Use link for description in strings.json

* Try except else

* Extend existing config flow tests
2024-06-09 18:13:32 +02:00

19 lines
431 B
Python

"""Constants for google_travel_time tests."""
from homeassistant.components.google_travel_time.const import (
CONF_DESTINATION,
CONF_ORIGIN,
)
from homeassistant.const import CONF_API_KEY
MOCK_CONFIG = {
CONF_API_KEY: "api_key",
CONF_ORIGIN: "location1",
CONF_DESTINATION: "location2",
}
RECONFIGURE_CONFIG = {
CONF_API_KEY: "api_key2",
CONF_ORIGIN: "location3",
CONF_DESTINATION: "location4",
}