mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
7 lines
173 B
Python
7 lines
173 B
Python
|
import pathlib
|
||
|
|
||
|
|
||
|
def get_fixture_path(filename: str) -> pathlib.Path:
|
||
|
"""Get path of fixture."""
|
||
|
return pathlib.Path(__file__).parent.joinpath("fixtures", filename)
|