Skip to content

Commit

Permalink
test(study-search): unittests for studies counting and pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
mabw-rte committed Feb 26, 2024
1 parent 08406ab commit 36ea8ac
Show file tree
Hide file tree
Showing 2 changed files with 264 additions and 21 deletions.
2 changes: 2 additions & 0 deletions tests/integration/studies_blueprint/test_get_studies.py
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,7 @@ def test_get_studies__access_permissions(self, client: TestClient, admin_access_
# fmt: off
([], {"1", "2", "5", "6", "7", "8", "9", "10", "13", "14", "15", "16", "17",
"18", "21", "22", "23", "24", "25", "26", "29", "30", "31", "32", "34"}),
# fmt: on
(["1"], {"1", "7", "8", "9", "17", "23", "24", "25"}),
(["2"], {"2", "5", "6", "7", "8", "9", "18", "21", "22", "23", "24", "25", "34"}),
(["3"], set()),
Expand Down Expand Up @@ -1349,6 +1350,7 @@ def test_get_studies__access_permissions(self, client: TestClient, admin_access_
# fmt: off
([], {"1", "3", "4", "5", "7", "8", "9", "11", "13", "14", "15", "16", "17",
"19", "20", "21", "23", "24", "25", "27", "29", "30", "31", "32", "33"}),
# fmt: on
(["1"], {"1", "3", "4", "7", "8", "9", "17", "19", "20", "23", "24", "25", "33"}),
(["2"], {"5", "7", "8", "9", "21", "23", "24", "25"}),
(["3"], set()),
Expand Down
Loading

0 comments on commit 36ea8ac

Please sign in to comment.