1 parent
ae9e3d83d7
commit
d1a621601d
42 files changed
+307
-473
No files matched your search
@@ -8,7 +8,7 @@ from homeassistant.setup import async_setup_component
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_http_client(loop, hass, aiohttp_client):
|
||||
def mock_http_client(loop, hass, hass_client):
|
||||
"""Set up test fixture."""
|
||||
config = {
|
||||
'rss_feed_template': {
|
||||
@@ -21,7 +21,7 @@ def mock_http_client(loop, hass, aiohttp_client):
|
||||
loop.run_until_complete(async_setup_component(hass,
|
||||
'rss_feed_template',
|
||||
config))
|
||||
return loop.run_until_complete(aiohttp_client(hass.http.app))
|
||||
return loop.run_until_complete(hass_client())
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
|
||||
Reference in new issue
Block a user