Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdavidzeng committed Jun 18, 2020
1 parent e796e07 commit c12e948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/interface/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ def test_json_contains_is_invalid_except_special_version(
with pytest.raises(BadFilterFormat) as err:
apply_filters(query, filters)

assert str(err) == 'Operator `json_contains` not valid.'
assert err.value.args[0] == 'Operator `json_contains` not valid.'

@pytest.mark.usefixtures('multiple_tils_inserted')
def test_til_not_contains_value(
Expand Down

0 comments on commit c12e948

Please sign in to comment.