Skip to content

Commit

Permalink
Fix error testing with multiple values in domain filter
Browse files Browse the repository at this point in the history
  • Loading branch information
hynnot committed Feb 4, 2025
1 parent d4fc376 commit 5f1d60f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ooniapi/services/oonimeasurements/tests/test_measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@ def test_list_measurements_with_multiple_values_to_filters_not_in_the_result(cli
json = response.json()
assert isinstance(json["results"], list), json
assert len(json["results"]) > 0
domain_list = domainCollection.split(", ")
for result in json["results"]:
assert any(domain in result["input"] for domain in domainCollection), result
assert any(domain in result["input"] for domain in domain_list), result

0 comments on commit 5f1d60f

Please sign in to comment.