Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements_integration_tests.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest-homeassistant-custom-component==0.13.375
pytest-homeassistant==2026.11.2
7 changes: 1 addition & 6 deletions tests/integration_tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""pytest-homeassistant-custom-component conftest for SSH Command integration tests.
"""pytest-homeassistant conftest for SSH Command integration tests.

This file wires the component (which lives at the repo root, not inside a
conventional ``custom_components/`` sub-directory) into Home Assistant's custom
Expand Down Expand Up @@ -54,8 +54,3 @@
def expected_lingering_timers() -> bool:
"""Allow any timers registered during setup to linger during teardown."""
return True


@pytest.fixture(autouse=True)
def auto_enable_custom_integrations(enable_custom_integrations):
"""Enable custom integrations for every test in this package."""
4 changes: 2 additions & 2 deletions tests/integration_tests/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Integration tests for the SSH Command custom component.

These tests use ``pytest-homeassistant-custom-component`` which spins up a
These tests use ``pytest-homeassistant`` which spins up a
real (in-process) Home Assistant instance per test. No hand-rolled mocks
are needed for the HA side: the ``hass`` fixture IS a real ``HomeAssistant``
object, and services behave exactly as they do at runtime.
Expand All @@ -22,7 +22,7 @@
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ServiceValidationError
from homeassistant.setup import async_setup_component
from pytest_homeassistant_custom_component.common import MockConfigEntry
from pytest_homeassistant.common import MockConfigEntry

from asyncssh import HostKeyNotVerifiable, PermissionDenied

Expand Down
Loading