Skip to content

Commit

Permalink
#217: Add test case for empty list where filter
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Apr 8, 2021
1 parent fb57cee commit 7e723be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/icat/filters/test_where_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class TestICATWhereFilter:
pytest.param("gt", 5, "> '5'", id="greater than"),
pytest.param("gte", 5, ">= '5'", id="greater than or equal"),
pytest.param("in", [1, 2, 3, 4], "in (1, 2, 3, 4)", id="in a list"),
pytest.param("in", [], "in (NULL)", id="empty list"),
],
)
def test_valid_operations(
Expand Down

0 comments on commit 7e723be

Please sign in to comment.