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 Docker integration tests.
"""pytest-homeassistant conftest for SSH Docker 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 @@ -100,11 +100,6 @@ async def _default_ssh_run(hass, options, command, timeout=60):
# ---------------------------------------------------------------------------


@pytest.fixture(autouse=True)
def auto_enable_custom_integrations(enable_custom_integrations):
"""Enable custom integrations for every test in this package."""


@pytest.fixture(autouse=True)
def mock_frontend_setup():
"""Skip sidebar panel registration — irrelevant for integration tests.
Expand Down
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 Docker 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: the ``hass`` fixture IS a real ``HomeAssistant`` object, and entities,
states, and services all behave exactly as they do at runtime.
Expand All @@ -16,7 +16,7 @@

import pytest
from homeassistant.core import HomeAssistant
from pytest_homeassistant_custom_component.common import MockConfigEntry
from pytest_homeassistant.common import MockConfigEntry

from custom_components.ssh_docker.const import (
CONF_AUTO_UPDATE,
Expand Down
Loading