Skip to content

Commit

Permalink
fix test with minor behavior change
Browse files Browse the repository at this point in the history
  • Loading branch information
relud committed Oct 9, 2024
1 parent 9ac223f commit 32912f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion socorro/tests/external/es/test_supersearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,9 @@ def test_get_with_bool_operators(self, es_helper):

assert resp["total"] == 2
assert len(resp["hits"]) == 2
assert not resp["hits"][0]["accessibility"]
# NOTE(relud) In es 1.4 columns missing in the crash would be returned as None,
# but after upgrading to es 8 they are missing in the response.
assert not resp["hits"][0].get("accessibility", None)

def test_get_with_combined_operators(self, es_helper):
now = utc_now()
Expand Down

0 comments on commit 32912f9

Please sign in to comment.