mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 11:52:20 +01:00
dashboard: Add some basic tests for the dashboard (#5870)
This commit is contained in:
6
tests/dashboard/common.py
Normal file
6
tests/dashboard/common.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import pathlib
|
||||
|
||||
|
||||
def get_fixture_path(filename: str) -> pathlib.Path:
|
||||
"""Get path of fixture."""
|
||||
return pathlib.Path(__file__).parent.joinpath("fixtures", filename)
|
Reference in New Issue
Block a user