Add missing argument type to core tests (#119667)
This commit is contained in:
parent
f3ce562847
commit
9f41133bbc
7 changed files with 23 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue