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 ca7d28d commit 0d77266Copy full SHA for 0d77266
src/opengeodeweb_viewer/config.py
@@ -24,9 +24,11 @@ def dev_config():
24
os.mkdir(os.environ.get("DATA_FOLDER_PATH"))
25
26
27
-def test_config():
+def test_config(path):
28
default_config()
29
print(f"{os.path.dirname(__file__)=}", flush=True)
30
- os.environ["DATA_FOLDER_PATH"] = os.path.join(
31
- os.path.dirname(__file__), "..", "tests", "data"
+ os.environ["DATA_FOLDER_PATH"] = os.path.join(path,
+ "data"
32
)
33
+
34
+ print(f"{os.environ.get('DATA_FOLDER_PATH')=}", flush=True)
0 commit comments