Add type hints and code cleanup for mikrotik (#74296)
* Add type hints and code cleanup for mikrotik * update test and increase coverage * move setup_mikrotik_entry to __init__.py
This commit is contained in:
parent
110d9232cd
commit
b09aaba421
10 changed files with 302 additions and 333 deletions
|
@ -39,7 +39,6 @@ async def test_successful_config_entry(hass):
|
|||
|
||||
await hass.config_entries.async_setup(entry.entry_id)
|
||||
assert entry.state == ConfigEntryState.LOADED
|
||||
assert hass.data[DOMAIN][entry.entry_id]
|
||||
|
||||
|
||||
async def test_hub_conn_error(hass, mock_api):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue