Skip to content

Commit

Permalink
Test corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturOle committed Sep 29, 2024
1 parent e26cf20 commit 157e92e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 157e92e

Please sign in to comment.