From 157e92ea93a4190fdc6fae1f5e0ab163d77f9006 Mon Sep 17 00:00:00 2001 From: ArturOle Date: Sun, 29 Sep 2024 15:36:32 +0200 Subject: [PATCH] Test corrections --- .../data_manager_test/preprocessor_test/preprocessor_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit_tests/data_manager_test/preprocessor_test/preprocessor_test.py b/test/unit_tests/data_manager_test/preprocessor_test/preprocessor_test.py index c66968d..bd27d7a 100644 --- a/test/unit_tests/data_manager_test/preprocessor_test/preprocessor_test.py +++ b/test/unit_tests/data_manager_test/preprocessor_test/preprocessor_test.py @@ -6,7 +6,7 @@ def test_produce_chunks(mocker): pipeline = Preprocessor() - splitter_mock = mocker.patch('ragger.data_manager.preprocessor.preprocessor.RecursiveCharacterTextSplitter') + splitter_mock = mocker.patch('ragger.data_manager.preprocessor.RecursiveCharacterTextSplitter') splitter_mock.return_value.split_text.return_value = ['This is a test text'] texts = ['This is a test text'] chunks = pipeline.produce_chunks(texts)