Skip to content

Commit

Permalink
Fix ambient network test linting (home-assistant#115691)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored Apr 16, 2024
1 parent 0dd8ffd commit 093aee6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/components/ambient_network/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,11 @@ async def setup_platform(
expected_outcome: bool,
hass: HomeAssistant,
config_entry: MockConfigEntry,
):
) -> None:
"""Load the Ambient Network integration with the provided OpenAPI and config entry."""

config_entry.add_to_hass(hass)
assert (
await hass.config_entries.async_setup(config_entry.entry_id) == expected_outcome
)
await hass.async_block_till_done()

return

0 comments on commit 093aee6

Please sign in to comment.