mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 07:05:48 +01: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')
|
||||
assert resp.status == 200
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user