We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f3520 commit 8017439Copy full SHA for 8017439
tests/conftest.py
@@ -1,5 +1,5 @@
1
"""Fixtures used in all tests for cookiecutter-robust-python."""
2
-
+import os
3
import subprocess
4
from pathlib import Path
5
from typing import Any
@@ -21,7 +21,9 @@
21
@pytest.fixture(scope="session")
22
def demos_folder(tmp_path_factory: TempPathFactory) -> Path:
23
"""Temp Folder used for storing demos while testing."""
24
- return tmp_path_factory.mktemp("demos")
+ path: Path = tmp_path_factory.mktemp("demos")
25
+ os.environ["COOKIECUTTER_ROBUST_PYTHON__DEMOS_CACHE_FOLDER"] = str(path)
26
+ return path
27
28
29
0 commit comments