1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Allow all panel urls (#8368)

* Allow all panel urls

* Lint
This commit is contained in:
Paulus Schoutsen
2017-07-06 20:58:21 -07:00
committed by GitHub
parent c63bdd5afe
commit fa4aa2244e
2 changed files with 9 additions and 17 deletions

View File

@@ -61,9 +61,5 @@ def test_states_routes(hass, mock_http_client):
resp = yield from mock_http_client.get('/states')
assert resp.status == 200
resp = yield from mock_http_client.get('/states/group.non_existing')
assert resp.status == 404
hass.states.async_set('group.existing', 'on', {'view': True})
resp = yield from mock_http_client.get('/states/group.existing')
assert resp.status == 200