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:
@@ -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