Fix missing f-string in filterable_job (#89340)

* Fix missing f-string in filterable_job

* remove bad test
This commit is contained in:
J. Nick Koston 2023-03-08 10:53:48 -10:00 committed by GitHub
parent b07f614cf5
commit 5dbab21f9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -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,
)

View file

@ -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] == {}