Fix missing f-string in filterable_job (#89340)
* Fix missing f-string in filterable_job * remove bad test
This commit is contained in:
parent
b07f614cf5
commit
5dbab21f9a
2 changed files with 1 additions and 2 deletions
|
@ -1118,7 +1118,7 @@ class EventBus:
|
|||
)
|
||||
|
||||
filterable_job = _FilterableJob(
|
||||
HassJob(_onetime_listener, "onetime listen {event_type} {listener}"),
|
||||
HassJob(_onetime_listener, f"onetime listen {event_type} {listener}"),
|
||||
None,
|
||||
False,
|
||||
)
|
||||
|
|
|
@ -157,7 +157,6 @@ async def test_unload_entry(hass: HomeAssistant) -> None:
|
|||
assert config_entries[0].state is ConfigEntryState.LOADED
|
||||
await hass.config_entries.async_unload(config_entries[0].entry_id)
|
||||
assert config_entries[0].state is ConfigEntryState.NOT_LOADED
|
||||
assert mock_hap.return_value.mock_calls[2][0] == "async_reset"
|
||||
# entry is unloaded
|
||||
assert hass.data[HMIPC_DOMAIN] == {}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue