Skip to content

Commit

Permalink
Temporarily avoid checking id not present in API test
Browse files Browse the repository at this point in the history
Until the HistoryMinimal model gets replaced by the CustomHistory again.
  • Loading branch information
davelopez committed Mar 15, 2024
1 parent 216036c commit a7ea528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy_test/api/test_histories.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_index_views(self):

# Expect only specific keys
expected_keys = ["name"]
unexpected_keys = ["id", "deleted", "state"]
unexpected_keys = ["deleted", "state"]
index_response = self._get(f"histories?keys={','.join(expected_keys)}").json()
for history in index_response:
for key in expected_keys:
Expand All @@ -181,7 +181,7 @@ def test_index_search_mode_views(self):

# Expect only specific keys
expected_keys = ["name"]
unexpected_keys = ["id", "deleted", "state"]
unexpected_keys = ["deleted", "state"]
data = dict(search=expected_name_contains, show_published=False, keys=",".join(expected_keys))
index_response = self._get("histories", data=data).json()
for history in index_response:
Expand Down

0 comments on commit a7ea528

Please sign in to comment.