Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
VianneyMI committed Nov 2, 2023
1 parent 871435e commit 33abafe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,9 @@ def test_search(self, state:State)->None:
search = Search.from_operator(operator_name="more_like_this", like={})
assert search

with pytest.raises(pyd.ValidationError):
Search()
# NOTE : Commented the below, as it does not raise anymore but instantiate search with a Compound operator.
# with pytest.raises(pyd.ValidationError):
# Search()


def test_set(self, state:State)->None:
Expand Down

0 comments on commit 33abafe

Please sign in to comment.