Clean up google travel time code (#48708)

This commit is contained in:
Raman Gupta 2021-04-07 06:39:27 -04:00 committed by GitHub
parent 2555b10d49
commit caaa62a7f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View file

@ -7,11 +7,6 @@ from homeassistant.core import HomeAssistant
PLATFORMS = ["sensor"]
async def async_setup(hass: HomeAssistant, config: dict):
"""Set up the Google Maps Travel Time component."""
return True
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
"""Set up Google Maps Travel Time from a config entry."""
for component in PLATFORMS:

View file

@ -31,8 +31,6 @@ def validate_config_entry_fixture():
def bypass_setup_fixture():
"""Bypass entry setup."""
with patch(
"homeassistant.components.google_travel_time.async_setup", return_value=True
), patch(
"homeassistant.components.google_travel_time.async_setup_entry",
return_value=True,
):