Add common area, device, entity and issue registry test fixtures (#87694)

This commit is contained in:
Franck Nijhof
2023-02-08 16:28:44 +01:00
committed by GitHub
parent 94519de8dd
commit 6551eb168d
5 changed files with 109 additions and 32 deletions

View File

@@ -93,10 +93,14 @@ _METHOD_MATCH: list[TypeHintMatch] = [
_TEST_FIXTURES: dict[str, list[str] | str] = {
"aioclient_mock": "AiohttpClientMocker",
"aiohttp_client": "ClientSessionGenerator",
"area_registry": "AreaRegistry",
"caplog": "pytest.LogCaptureFixture",
"device_registry": "DeviceRegistry",
"entity_registry": "EntityRegistry",
"hass_client": "ClientSessionGenerator",
"hass_client_no_auth": "ClientSessionGenerator",
"hass_ws_client": "WebSocketGenerator",
"issue_registry": "IssueRegistry",
"mqtt_client_mock": "MqttMockPahoClient",
"mqtt_mock": "MqttMockHAClient",
"mqtt_mock_entry_no_yaml_config": "MqttMockHAClientGenerator",