Move Home Connect entry state assertion at tests (#144027)

This commit is contained in:
J. Diego Rodríguez Royo
2025-05-01 23:04:03 +02:00
committed by GitHub
parent abd17d9af9
commit 883ab44437
14 changed files with 2 additions and 94 deletions

View File

@@ -157,7 +157,6 @@ async def test_program_options_retrieval(
)
)
assert config_entry.state == ConfigEntryState.NOT_LOADED
assert await integration_setup(client)
assert config_entry.state == ConfigEntryState.LOADED
@@ -276,7 +275,6 @@ async def test_no_options_retrieval_on_unknown_program(
client.get_all_programs = AsyncMock(side_effect=get_all_programs_with_options_mock)
assert config_entry.state == ConfigEntryState.NOT_LOADED
assert await integration_setup(client)
assert config_entry.state == ConfigEntryState.LOADED
@@ -357,7 +355,6 @@ async def test_program_options_retrieval_after_appliance_connection(
)
)
assert config_entry.state == ConfigEntryState.NOT_LOADED
assert await integration_setup(client)
assert config_entry.state == ConfigEntryState.LOADED
@@ -469,7 +466,6 @@ async def test_option_entity_functionality_exception(
)
)
assert config_entry.state == ConfigEntryState.NOT_LOADED
assert await integration_setup(client)
assert config_entry.state == ConfigEntryState.LOADED