Use Cloudhooks for OwnTracks (#23847)
* Use Cloudhooks for OwnTracks * Update config_flow.py * Update config_flow.py
This commit is contained in:
1 parent
19cfa8cf22
commit
6fa8556033
4 files changed
+101
-18
No files matched your search
@@ -160,15 +160,3 @@ def test_returns_error_missing_device(mock_client):
|
||||
|
||||
json = yield from resp.json()
|
||||
assert json == []
|
||||
|
||||
|
||||
async def test_config_flow_import(hass):
|
||||
"""Test that we automatically create a config flow."""
|
||||
assert not hass.config_entries.async_entries('owntracks')
|
||||
assert await async_setup_component(hass, 'owntracks', {
|
||||
'owntracks': {
|
||||
|
||||
}
|
||||
})
|
||||
await hass.async_block_till_done()
|
||||
assert hass.config_entries.async_entries('owntracks')
|
||||
Reference in new issue
Block a user