1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Improve coverage for various core modules (#10663)

This commit is contained in:
J. Nick Koston
2025-09-10 08:17:34 -05:00
committed by GitHub
parent 55dd12c66b
commit 10aae33979
5 changed files with 701 additions and 0 deletions

View File

@@ -36,3 +36,10 @@ def fixture_path() -> Path:
Location of all fixture files.
"""
return here / "fixtures"
@pytest.fixture
def setup_core(tmp_path: Path) -> Path:
"""Set up CORE with test paths."""
CORE.config_path = str(tmp_path / "test.yaml")
return tmp_path