fix black on generic_thermostat tests (#39350)
This commit is contained in:
parent
f914625b8a
commit
98db0a2d2e
1 changed files with 7 additions and 2 deletions
|
@ -1275,11 +1275,16 @@ async def test_reload(hass):
|
|||
assert hass.states.get("climate.test") is not None
|
||||
|
||||
yaml_path = path.join(
|
||||
_get_fixtures_base_path(), "fixtures", "generic_thermostat/configuration.yaml",
|
||||
_get_fixtures_base_path(),
|
||||
"fixtures",
|
||||
"generic_thermostat/configuration.yaml",
|
||||
)
|
||||
with patch.object(hass_config, "YAML_CONFIG_FILE", yaml_path):
|
||||
await hass.services.async_call(
|
||||
GENERIC_THERMOSTAT_DOMAIN, SERVICE_RELOAD, {}, blocking=True,
|
||||
GENERIC_THERMOSTAT_DOMAIN,
|
||||
SERVICE_RELOAD,
|
||||
{},
|
||||
blocking=True,
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue