mirror of
https://github.com/esphome/esphome.git
synced 2025-09-24 22:22:22 +01:00
Improve coverage for various core modules (#10663)
This commit is contained in:
committed by
Jesse Hills
parent
2a4ab6a811
commit
4b3a997a8e
@@ -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
|
||||
|
Reference in New Issue
Block a user