Address Kodi code review follow up (#39104)
* Code review follow up * Update config_flow.py * Update config_flow.py * Update strings.json * Update config_flow.py * Update config_flow.py * Update config_flow.py * Update config_flow.py * Update config_flow.py * Update config_flow.py * Update util.py * Update test_config_flow.py * Update config_flow.py * Update util.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update util.py * Update test_config_flow.py * Update config_flow.py * Update config_flow.py * Update config_flow.py * Update config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py Co-authored-by: Chris Talkington <chris@talkingtontech.com>
This commit is contained in:
1 parent
3c1c6069da
commit
f075742a86
5 files changed
+536
-188
No files matched your search
@@ -27,6 +27,8 @@ async def init_integration(hass) -> MockConfigEntry:
|
||||
CONF_SSL: False,
|
||||
}
|
||||
entry = MockConfigEntry(domain=DOMAIN, data=entry_data, title="name")
|
||||
entry.add_to_hass(hass)
|
||||
|
||||
with patch("homeassistant.components.kodi.Kodi.ping", return_value=True), patch(
|
||||
"homeassistant.components.kodi.Kodi.get_application_properties",
|
||||
return_value={"version": {"major": 1, "minor": 1}},
|
||||
@@ -34,7 +36,6 @@ async def init_integration(hass) -> MockConfigEntry:
|
||||
"homeassistant.components.kodi.get_kodi_connection",
|
||||
return_value=MockConnection(),
|
||||
):
|
||||
entry.add_to_hass(hass)
|
||||
await hass.config_entries.async_setup(entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
||||
Reference in new issue
Block a user