Fix invalid directory for dnsmasq files in asuswrt (#33503)

This commit is contained in:
springstan authored and GitHub committed 2020-04-01 11:04:44 -07:00
1 parent fb93b79b12
commit 0cf9268ca8
2 files changed
+3 -5

No files matched your search

@@ -19,9 +19,7 @@ async def test_password_or_pub_key_required(hass):
AsusWrt().connection.async_connect = mock_coro_func()
AsusWrt().is_connected = False
result = await async_setup_component(
hass,
DOMAIN,
{DOMAIN: {CONF_HOST: "fake_host", CONF_USERNAME: "fake_user"}},
hass, DOMAIN, {DOMAIN: {CONF_HOST: "fake_host", CONF_USERNAME: "fake_user"}}
)
assert not result
@@ -62,7 +60,7 @@ async def test_specify_non_directory_path_for_dnsmasq(hass):
CONF_HOST: "fake_host",
CONF_USERNAME: "fake_user",
CONF_PASSWORD: "4321",
CONF_DNSMASQ: "?non_directory?",
CONF_DNSMASQ: 1234,
}
},
)