1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Cherry pick test fix (#22939)

This commit is contained in:
Jason Hu
2019-04-09 13:59:15 -07:00
committed by GitHub
parent 58ec77b017
commit c82d2cb11c
9 changed files with 41 additions and 19 deletions

View File

@@ -369,7 +369,7 @@ async def test_if_action(hass, calls):
async def test_if_fires_on_change_with_bad_template(hass, calls):
"""Test for firing on change with bad template."""
with assert_setup_component(0):
with assert_setup_component(0, automation.DOMAIN):
assert await async_setup_component(hass, automation.DOMAIN, {
automation.DOMAIN: {
'trigger': {