This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_request_sync_service[pyloop] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― | |
aioclient_mock = <tests.test_util.aiohttp.AiohttpClientMocker object at 0x7fb4e0ec4b38>, hass = <homeassistant.core.HomeAssistant object at 0x7fb4e8746a20> | |
@asyncio.coroutine | |
def test_request_sync_service(aioclient_mock, hass): | |
"""Test that it posts to the request_sync url.""" | |
aioclient_mock.post( | |
ga.const.REQUEST_SYNC_BASE_URL, status=200) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""The tests for google-assistant init.""" | |
import asyncio | |
from unittest import mock | |
from homeassistant.setup import async_setup_component | |
from homeassistant.components import google_assistant as ga | |
GA_API_KEY = "Agdgjsj399sdfkosd932ksd" | |
GA_AGENT_USER_ID = "testid" |