diff --git a/cognee/tests/integration/run_toy_tasks/conftest.py b/cognee/tests/integration/run_toy_tasks/conftest.py index e0234162b..b90ca6b68 100644 --- a/cognee/tests/integration/run_toy_tasks/conftest.py +++ b/cognee/tests/integration/run_toy_tasks/conftest.py @@ -5,6 +5,4 @@ import pytest @pytest.fixture(autouse=True, scope="session") def copy_cognee_db_to_target_location(): - - os.system - yield + os.system("cp cognee/tests/integration/run_toy_tasks/data/cognee_db cognee/.cognee_system/databases/cognee_db") diff --git a/cognee/tests/integration/run_toy_tasks/data/cognee_db b/cognee/tests/integration/run_toy_tasks/data/cognee_db index e69de29bb..60455ad29 100644 Binary files a/cognee/tests/integration/run_toy_tasks/data/cognee_db and b/cognee/tests/integration/run_toy_tasks/data/cognee_db differ diff --git a/cognee/tests/unit/run_tasks/conftest.py b/cognee/tests/unit/run_tasks/conftest.py deleted file mode 100644 index 3c804227e..000000000 --- a/cognee/tests/unit/run_tasks/conftest.py +++ /dev/null @@ -1,7 +0,0 @@ - -import os -import pytest - -@pytest.fixture(autouse=True, scope="session") -def copy_cognee_db_to_target_location(): - os.system("mv cognee/tests/integration/run_toy_tasks/data/cognee_db cognee/.cognee_system/databases")