Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
fix kb system test
Browse files Browse the repository at this point in the history
  • Loading branch information
acatav committed Oct 2, 2023
1 parent 839d738 commit 995e639
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/system/knowledge_base/test_knowledge_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,7 @@ def test_upsert_dataframe(knowledge_base, documents, chunker, encoder):
for chunk in encoded_chunks:
chunk.source = ''

vec_after = total_vectors_in_index(knowledge_base)

assert vec_after - vec_before == len(encoded_chunks)
assert_num_vectors_in_index(knowledge_base, vec_before + len(encoded_chunks))
assert_chunks_in_index(knowledge_base, encoded_chunks)


Expand Down

0 comments on commit 995e639

Please sign in to comment.