Add constant for PlatformNotReady wait time to use in tests (#37266)

This commit is contained in:
mdegat01 authored and GitHub committed 2020-07-01 08:42:57 -07:00
1 parent 0a0b60566d
commit 52f3238e17
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -18,6 +18,7 @@ from homeassistant.components.influxdb.const import (
from homeassistant.components.influxdb.sensor import PLATFORM_SCHEMA
import homeassistant.components.sensor as sensor
from homeassistant.const import STATE_UNKNOWN
from homeassistant.helpers.entity_platform import PLATFORM_NOT_READY_BASE_WAIT_TIME
from homeassistant.setup import async_setup_component
from homeassistant.util import dt as dt_util
@@ -27,7 +28,6 @@ from tests.common import async_fire_time_changed
INFLUXDB_PATH = "homeassistant.components.influxdb"
INFLUXDB_CLIENT_PATH = f"{INFLUXDB_PATH}.InfluxDBClient"
INFLUXDB_SENSOR_PATH = f"{INFLUXDB_PATH}.sensor"
PLATFORM_NOT_READY_BASE_WAIT_TIME = 30
BASE_V1_CONFIG = {}
BASE_V2_CONFIG = {