mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Add missing argument type to core tests (#119667)
This commit is contained in:
@@ -32,9 +32,8 @@ async def test_get_integration_logger(
|
||||
assert logger.name == "homeassistant.components.hue"
|
||||
|
||||
|
||||
async def test_extract_frame_resolve_module(
|
||||
hass: HomeAssistant, enable_custom_integrations
|
||||
) -> None:
|
||||
@pytest.mark.usefixtures("enable_custom_integrations")
|
||||
async def test_extract_frame_resolve_module(hass: HomeAssistant) -> None:
|
||||
"""Test extracting the current frame from integration context."""
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from custom_components.test_integration_frame import call_get_integration_frame
|
||||
@@ -50,9 +49,8 @@ async def test_extract_frame_resolve_module(
|
||||
)
|
||||
|
||||
|
||||
async def test_get_integration_logger_resolve_module(
|
||||
hass: HomeAssistant, enable_custom_integrations
|
||||
) -> None:
|
||||
@pytest.mark.usefixtures("enable_custom_integrations")
|
||||
async def test_get_integration_logger_resolve_module(hass: HomeAssistant) -> None:
|
||||
"""Test getting the logger from integration context."""
|
||||
# pylint: disable-next=import-outside-toplevel
|
||||
from custom_components.test_integration_frame import call_get_integration_logger
|
||||
|
||||
Reference in New Issue
Block a user