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
@@ -5,12 +5,6 @@ import ast
from datetime import datetime
import logging
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())
from custom_components.nestquest import const