mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +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"},
|
||||
)
|
||||
|
||||
with patch("os.path.isfile", return_value=False):
|
||||
assert await async_setup_component(
|
||||
hass,
|
||||
DOMAIN,
|
||||
{DOMAIN: {CONF_CLIENT_ID: "client", CONF_CLIENT_SECRET: "secret"}},
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
assert await async_setup_component(
|
||||
hass,
|
||||
DOMAIN,
|
||||
{DOMAIN: {CONF_CLIENT_ID: "client", CONF_CLIENT_SECRET: "secret"}},
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
||||
async def test_abort_if_no_configuration(hass: HomeAssistant) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user