diff --git a/cognee/tests/test_library.py b/cognee/tests/test_library.py index 9012f515b..cc02e533a 100755 --- a/cognee/tests/test_library.py +++ b/cognee/tests/test_library.py @@ -24,7 +24,7 @@ async def main(): dataset_name = "cs_explanations" - explanation_file_path = os.path.join(os.getcwd(), "test_data/Natural_language_processing.txt") + explanation_file_path = os.path.join(pathlib.Path(__file__).parent, "test_data/Natural_language_processing.txt") # await cognee.add([explanation_file_path], dataset_name)