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)