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 f557b10 commit 78a6525Copy full SHA for 78a6525
tests/__init__.py
@@ -30,6 +30,7 @@
30
31
TEST_GRAMPSHOME = tempfile.mkdtemp()
32
os.environ["GRAMPSHOME"] = TEST_GRAMPSHOME
33
+os.environ["GRAMPS_DATABASE_PATH"] = os.path.join(TEST_GRAMPSHOME, "gramps", "grampsdb")
34
35
from gramps.cli.clidbman import CLIDbManager
36
from gramps.cli.grampscli import CLIManager
tests/test_endpoints/__init__.py
@@ -83,7 +83,8 @@ def setUpModule():
83
"MEDIA_BASE_DIR": f"{os.environ['GRAMPS_RESOURCES']}/doc/gramps/example/gramps",
84
"VECTOR_EMBEDDING_MODEL": "paraphrase-albert-small-v2",
85
"LLM_MODEL": "mock-model",
86
- }
+ },
87
+ config_from_env=False,
88
)
89
TEST_CLIENT = test_app.test_client()
90
with test_app.app_context():
0 commit comments