esphome/tests/dashboard/common.py

7 lines
173 B
Python
Raw Permalink Normal View History

import pathlib
def get_fixture_path(filename: str) -> pathlib.Path:
"""Get path of fixture."""
return pathlib.Path(__file__).parent.joinpath("fixtures", filename)