diff --git a/requirements_test.txt b/requirements_test.txt index 7b7f0c17628..1467a84a1e7 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -4,12 +4,12 @@ asynctest==0.13.0 fnv_hash_fast home-assistant-frontend homeassistant -Pillow janus +Pillow psutil_home_assistant +pytest==7.4.3 pytest-asyncio==0.21.1 pytest-cov==4.1.0 pytest-snapshot==0.9.0 pytest-socket==0.6.0 -pytest==7.4.3 sqlalchemy diff --git a/tests/common.py b/tests/common.py index 0e9620524ba..ab2b66de8eb 100644 --- a/tests/common.py +++ b/tests/common.py @@ -2,7 +2,6 @@ from __future__ import annotations import asyncio -from awesomeversion import AwesomeVersion from contextlib import contextmanager import functools as ft import json as json_func @@ -11,9 +10,14 @@ from aiohttp import ClientSession, ClientWebSocketResponse from aiohttp.typedefs import StrOrURL +from awesomeversion import AwesomeVersion from homeassistant import auth, bootstrap, config_entries, core as ha from homeassistant.auth import auth_store, models as auth_models -from homeassistant.const import EVENT_HOMEASSISTANT_CLOSE, EVENT_HOMEASSISTANT_STOP, __version__ as HAVERSION +from homeassistant.const import ( + EVENT_HOMEASSISTANT_CLOSE, + EVENT_HOMEASSISTANT_STOP, + __version__ as HAVERSION, +) from homeassistant.helpers import ( area_registry as ar, device_registry as dr,