mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Remove unnecessary patch from toon tests (#146691)
This commit is contained in:
parent
7c575d0316
commit
704118b3d0
@ -27,13 +27,12 @@ async def setup_component(hass: HomeAssistant) -> None:
|
|||||||
{"external_url": "https://example.com"},
|
{"external_url": "https://example.com"},
|
||||||
)
|
)
|
||||||
|
|
||||||
with patch("os.path.isfile", return_value=False):
|
assert await async_setup_component(
|
||||||
assert await async_setup_component(
|
hass,
|
||||||
hass,
|
DOMAIN,
|
||||||
DOMAIN,
|
{DOMAIN: {CONF_CLIENT_ID: "client", CONF_CLIENT_SECRET: "secret"}},
|
||||||
{DOMAIN: {CONF_CLIENT_ID: "client", CONF_CLIENT_SECRET: "secret"}},
|
)
|
||||||
)
|
await hass.async_block_till_done()
|
||||||
await hass.async_block_till_done()
|
|
||||||
|
|
||||||
|
|
||||||
async def test_abort_if_no_configuration(hass: HomeAssistant) -> None:
|
async def test_abort_if_no_configuration(hass: HomeAssistant) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user