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 Task Tracker integration tests.
"""pytest-homeassistant conftest for Task Tracker 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 @@ -60,11 +60,6 @@ def expected_lingering_timers() -> bool:
return True


@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 lovelace / 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 Task Tracker 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 @@ -17,7 +17,7 @@
from homeassistant.core import HomeAssistant
from homeassistant.const import CONF_ICON
from homeassistant.util import dt as dt_util
from pytest_homeassistant_custom_component.common import MockConfigEntry
from pytest_homeassistant.common import MockConfigEntry

from custom_components.task_tracker.const import (
CONF_ACTIVE,
Expand Down
Loading