Skip to content

Commit

Permalink
Merge branch 'staging' into vineeth/dev-275
Browse files Browse the repository at this point in the history
  • Loading branch information
VVoruganti committed Mar 25, 2024
2 parents 0ba2268 + 5fdfdbc commit 83d87ea
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sdk/tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,7 @@ def test_paginated_messages():
created_session.create_message(is_user=False, content="Hi")

page_size = 7
get_message_response = created_session.get_messages(
page=1, page_size=page_size
)
get_message_response = created_session.get_messages(page=1, page_size=page_size)

assert get_message_response is not None
assert isinstance(get_message_response, GetMessagePage)
Expand Down Expand Up @@ -448,9 +446,7 @@ def test_collection_query():
collection = user.create_collection(col_name)

# Add documents
doc1 = collection.create_document(
content="The user loves puppies", metadata={}
)
doc1 = collection.create_document(content="The user loves puppies", metadata={})
doc2 = collection.create_document(content="The user owns a dog", metadata={})
doc3 = collection.create_document(content="The user is a doctor", metadata={})

Expand Down

0 comments on commit 83d87ea

Please sign in to comment.