From 520d25ae1218e24d0de84819d470c22a5e2519c7 Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Wed, 17 Dec 2025 15:50:47 +0100 Subject: [PATCH] fix: fixes unit test in windows environment --- cognee/tests/unit/api/test_get_raw_data_endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/tests/unit/api/test_get_raw_data_endpoint.py b/cognee/tests/unit/api/test_get_raw_data_endpoint.py index 2414ca091..392919755 100644 --- a/cognee/tests/unit/api/test_get_raw_data_endpoint.py +++ b/cognee/tests/unit/api/test_get_raw_data_endpoint.py @@ -97,7 +97,7 @@ def test_get_raw_data_local_file_downloads_bytes(client, monkeypatch, tmp_path): monkeypatch, dataset_id=dataset_id, data_id=data_id, - raw_data_location=f"file://{file_path}", + raw_data_location=file_path.as_uri(), name="example.txt", mime_type="text/plain", )