File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99class TestSentenceChunker (unittest .TestCase ):
1010 def test_sentence_chunker (self ):
1111 """Test SentenceChunker functionality with mocked backend."""
12- with patch ("memos.chunkers.sentence_chunker.ChonkieSentenceChunker " ) as mock_chunker_cls :
13- # Set up the mock for ChonkieSentenceChunker
12+ with patch ("chonkie.SentenceChunker " ) as mock_chunker_cls :
13+ # Set up the mock for SentenceChunker
1414 mock_chunker = MagicMock ()
1515 mock_chunks = [
1616 MagicMock (
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def config():
2828
2929@pytest .fixture
3030def mock_qdrant_client ():
31- with patch ("memos.vec_dbs.qdrant .QdrantClient" ) as mockclient :
31+ with patch ("qdrant_client .QdrantClient" ) as mockclient :
3232 yield mockclient
3333
3434
You can’t perform that action at this time.
0 commit comments