From 2be11279967a831c4bae4b9f9d1badeb8a15ba7f Mon Sep 17 00:00:00 2001 From: Leon Luithlen Date: Tue, 12 Nov 2024 14:31:26 +0100 Subject: [PATCH] Makedirs for integration test --- cognee/tests/integration/run_toy_tasks/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cognee/tests/integration/run_toy_tasks/conftest.py b/cognee/tests/integration/run_toy_tasks/conftest.py index b90ca6b68..1c6464ae2 100644 --- a/cognee/tests/integration/run_toy_tasks/conftest.py +++ b/cognee/tests/integration/run_toy_tasks/conftest.py @@ -5,4 +5,5 @@ import pytest @pytest.fixture(autouse=True, scope="session") def copy_cognee_db_to_target_location(): + os.makedirs("cognee/.cognee_system/databases/") os.system("cp cognee/tests/integration/run_toy_tasks/data/cognee_db cognee/.cognee_system/databases/cognee_db")