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.
2 parents 51d7dbc + ae32f5d commit 4d2f68aCopy full SHA for 4d2f68a
graphdoc/tests/test_config.py
@@ -4,6 +4,7 @@
4
import logging
5
6
# system packages
7
+import os
8
from pathlib import Path
9
10
# external packages
@@ -40,6 +41,12 @@
40
41
BASE_DIR = Path(__file__).resolve().parent.parent
42
SCHEMA_DIR = BASE_DIR / "tests" / "assets" / "schemas"
43
CONFIG_DIR = BASE_DIR / "tests" / "assets" / "configs"
44
+MLRUNS_DIR = BASE_DIR / "tests" / "assets" / "mlruns"
45
+
46
+# set the environment variables
47
+os.environ["MLFLOW_TRACKING_URI"] = str(MLRUNS_DIR)
48
+os.environ["MLFLOW_TRACKING_USERNAME"] = "admin"
49
+os.environ["MLFLOW_TRACKING_PASSWORD"] = "password"
50
51
52
class TestConfig:
0 commit comments