Move fixtures to decorators in core tests (#119675)
This commit is contained in:
parent
b80f7185b2
commit
01be5d5f6b
9 changed files with 80 additions and 109 deletions
|
@ -1071,9 +1071,8 @@ async def test_check_ha_config_file_wrong(mock_check, hass: HomeAssistant) -> No
|
|||
}
|
||||
],
|
||||
)
|
||||
async def test_async_hass_config_yaml_merge(
|
||||
merge_log_err, hass: HomeAssistant, mock_hass_config: None
|
||||
) -> None:
|
||||
@pytest.mark.usefixtures("mock_hass_config")
|
||||
async def test_async_hass_config_yaml_merge(merge_log_err, hass: HomeAssistant) -> None:
|
||||
"""Test merge during async config reload."""
|
||||
conf = await config_util.async_hass_config_yaml(hass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue