Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
seyed-dev committed Nov 5, 2023
1 parent b49468c commit b731307
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,4 @@ def test_complex_expression(self):
# Test invalid operator
def test_invalid_operator(self):
with pytest.raises(InvalidOperator) as err:
cond = Cond(25, "invalid_operator", 20, "High", "Low")
dict(cond)

assert "Operator invalid_operator does not exists" in err.__str__()
Cond(25, "invalid_operator", 20, "High", "Low")

0 comments on commit b731307

Please sign in to comment.