Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve testcase #1294

Merged
merged 4 commits into from
Oct 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,15 @@ def test_langchain_split_doc(self):
result2 = cursor.query(
"SELECT data from docs chunk_size 4000 chunk_overlap 200"
).df()

self.assertEqual(len(result1), len(result2))

result3 = cursor.query("SELECT data from docs;").df()
result4 = cursor.query(
"SELECT data from docs chunk_size 2000 chunk_overlap 50"
).df()
self.assertEqual(len(result3), len(result4))

def test_show_relational(self):
video_file_path = create_sample_video(10)

Expand Down