mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Apply hass-relative-import to bluetooth tests (#78736)
This commit is contained in:
parent
019d297ff0
commit
747e538172
@ -20,7 +20,7 @@ from homeassistant.helpers.debounce import Debouncer
|
||||
from homeassistant.helpers.service_info.bluetooth import BluetoothServiceInfo
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.components.bluetooth import inject_bluetooth_service_info
|
||||
from . import inject_bluetooth_service_info
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -20,10 +20,9 @@ from homeassistant.helpers.service_info.bluetooth import BluetoothServiceInfo
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
from . import patch_all_discovered_devices
|
||||
from . import inject_bluetooth_service_info, patch_all_discovered_devices
|
||||
|
||||
from tests.common import async_fire_time_changed
|
||||
from tests.components.bluetooth import inject_bluetooth_service_info
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -34,14 +34,14 @@ from homeassistant.helpers.entity import DeviceInfo
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
from . import patch_all_discovered_devices
|
||||
|
||||
from tests.common import MockEntityPlatform, async_fire_time_changed
|
||||
from tests.components.bluetooth import (
|
||||
from . import (
|
||||
inject_bluetooth_service_info,
|
||||
inject_bluetooth_service_info_bleak,
|
||||
patch_all_discovered_devices,
|
||||
)
|
||||
|
||||
from tests.common import MockEntityPlatform, async_fire_time_changed
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user