Skip to content

Commit b8b3d84

Browse files
tbdyereinauer
authored andcommitted
tools: add AMIFUSE_FIXTURE_ROOT env var override to fixture_paths
1 parent d2af023 commit b8b3d84

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/fixture_paths.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
from urllib.parse import parse_qs, urlencode, urljoin, urlparse
1515

1616

17-
FIXTURE_ROOT = Path.home() / "AmigaOS" / "AmiFuse"
17+
_env_root = os.environ.get("AMIFUSE_FIXTURE_ROOT")
18+
FIXTURE_ROOT = Path(_env_root) if _env_root else Path.home() / "AmigaOS" / "AmiFuse"
1819
DRIVERS_DIR = FIXTURE_ROOT / "drivers"
1920
FIXTURES_DIR = FIXTURE_ROOT / "fixtures"
2021
READONLY_DIR = FIXTURES_DIR / "readonly"

0 commit comments

Comments
 (0)