Skip to content

Commit

Permalink
More exp
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Aug 17, 2024
1 parent 672cf86 commit 3855fff
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions integrations/astra/tests/test_document_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,3 +354,27 @@ def test_comparison_less_than_equal_with_list(self, document_store, filterable_d
must have `DATE` or `NUMBER` value","errorCode":"INVALID_FILTER_EXPRESSION"}]}
"""
pass

def test_comparison_less_than_equal_with_none(self, document_store, filterable_docs):
"""
Fails with the following error:
astrapy.core.api.APIRequestError: {"errors":[{"message":"Invalid filter expression,
$lte operator must have `DATE` or `NUMBER` value","errorCode":"INVALID_FILTER_EXPRESSION"}]}
"""
pass

def test_comparison_equal_with_dataframe(self, document_store, filterable_docs):
"""
Fails with the following error:
astrapy.core.api.APIRequestError: {"errors":[{"message":"Invalid filter expression,
$eq operator must have `DATE` or `NUMBER` value","errorCode":"INVALID_FILTER_EXPRESSION"}]}
"""
pass

def test_comparison_not_equal_with_dataframe(self, document_store, filterable_docs):
"""
Fails with the following error:
astrapy.core.api.APIRequestError: {"errors":[{"message":"Invalid filter expression,
$ne operator must have `DATE` or `NUMBER` value","errorCode":"INVALID_FILTER_EXPRESSION"}]}
"""
pass

0 comments on commit 3855fff

Please sign in to comment.