Skip to content

Commit

Permalink
test: add additional isPublic test for endpoints #268
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Jan 31, 2022
1 parent d14c327 commit 12bdde5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/search_api/endpoints/test_search_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,14 @@ class TestSearchAPISearchEndpoint:
# Skipped due to ICAT 5 mapping
marks=pytest.mark.skip,
),
pytest.param(
"datasets",
'{"limit": 1, "where": {"isPublic": true}}',
[{}],
id="Search datasets with isPublic condition",
# Skipped because the where for isPublic doesn't work
marks=pytest.mark.skip,
),
],
)
def test_valid_search_endpoint(
Expand Down

0 comments on commit 12bdde5

Please sign in to comment.