Use built-in test helpers on 3.8 (#34901)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-04-30 13:29:50 -07:00
1 parent 6b16c34fd0
commit ec47216388
303 files changed
+1163 -1320

No files matched your search

@@ -1,8 +1,6 @@
"""Test Google http services."""
from datetime import datetime, timedelta, timezone
from asynctest import ANY, patch
from homeassistant.components.google_assistant import GOOGLE_ASSISTANT_SCHEMA
from homeassistant.components.google_assistant.const import (
HOMEGRAPH_TOKEN_URL,
@@ -14,6 +12,8 @@ from homeassistant.components.google_assistant.http import (
_get_homegraph_token,
)
from tests.async_mock import ANY, patch
DUMMY_CONFIG = GOOGLE_ASSISTANT_SCHEMA(
{
"project_id": "1234",