test: wire pytest test harness with standard hass fixture (#9)

This commit was merged in pull request #9.
This commit is contained in:
2026-09-13 19:18:10 -04:00
parent c75de71f37
commit b854013f1a
11 changed files with 686 additions and 467 deletions
-6
View File
@@ -3,12 +3,6 @@ from __future__ import annotations
import json
from pathlib import Path
import sys
from unittest.mock import MagicMock
# Mock homeassistant modules if not installed in environment
for _mod in ("homeassistant", "homeassistant.core", "homeassistant.config_entries"):
sys.modules.setdefault(_mod, MagicMock())
import pytest