Don't import from integration .const (#64608)

This commit is contained in:
Aaron Bach 2022-01-21 00:25:08 -07:00 committed by GitHub
parent 6bbe38578c
commit d634a08361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest import pytest
from homeassistant.components.airvisual.const import ( from homeassistant.components.airvisual import (
CONF_INTEGRATION_TYPE, CONF_INTEGRATION_TYPE,
DOMAIN, DOMAIN,
INTEGRATION_TYPE_GEOGRAPHY_COORDS, INTEGRATION_TYPE_GEOGRAPHY_COORDS,

View File

@ -10,7 +10,7 @@ from pyairvisual.errors import (
import pytest import pytest
from homeassistant import data_entry_flow from homeassistant import data_entry_flow
from homeassistant.components.airvisual.const import ( from homeassistant.components.airvisual import (
CONF_CITY, CONF_CITY,
CONF_COUNTRY, CONF_COUNTRY,
CONF_GEOGRAPHIES, CONF_GEOGRAPHIES,

View File

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest import pytest
from homeassistant.components.ambient_station.const import CONF_APP_KEY, DOMAIN from homeassistant.components.ambient_station import CONF_APP_KEY, DOMAIN
from homeassistant.const import CONF_API_KEY from homeassistant.const import CONF_API_KEY
from homeassistant.setup import async_setup_component from homeassistant.setup import async_setup_component

View File

@ -4,7 +4,7 @@ from unittest.mock import patch
import pytest import pytest
from homeassistant.components.flunearyou.const import DOMAIN from homeassistant.components.flunearyou import DOMAIN
from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE
from homeassistant.setup import async_setup_component from homeassistant.setup import async_setup_component