mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +02:00
Fix tests
This commit is contained in:
@@ -166,7 +166,7 @@ def test_extra_urls(mock_http_client_with_urls):
|
|||||||
resp = yield from mock_http_client_with_urls.get('/states')
|
resp = yield from mock_http_client_with_urls.get('/states')
|
||||||
assert resp.status == 200
|
assert resp.status == 200
|
||||||
text = yield from resp.text()
|
text = yield from resp.text()
|
||||||
assert text.find('href=\'https://domain.com/my_extra_url.html\'') >= 0
|
assert text.find('href="https://domain.com/my_extra_url.html"') >= 0
|
||||||
|
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
|
Reference in New Issue
Block a user