mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Use Cloudhooks for OwnTracks (#23847)
* Use Cloudhooks for OwnTracks * Update config_flow.py * Update config_flow.py
This commit is contained in:
@@ -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