Migrate to using aiohttp-asyncmdnsresolver for aiohttp resolver (#134830)

This commit is contained in:
J. Nick Koston
2025-01-06 12:06:28 -10:00
committed by GitHub
parent d13c14eedb
commit 89c73f56b1
8 changed files with 72 additions and 9 deletions

View File

@@ -1392,9 +1392,13 @@ async def test_bootstrap_does_not_preload_stage_1_integrations() -> None:
assert process.returncode == 0
decoded_stdout = stdout.decode()
disallowed_integrations = bootstrap.STAGE_1_INTEGRATIONS.copy()
# zeroconf is a top level dep now
disallowed_integrations.remove("zeroconf")
# Ensure no stage1 integrations have been imported
# as a side effect of importing the pre-imports
for integration in bootstrap.STAGE_1_INTEGRATIONS:
for integration in disallowed_integrations:
assert f"homeassistant.components.{integration}" not in decoded_stdout