Skip to content

Commit

Permalink
test(functional): add test for skip_groups list filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch committed May 6, 2021
1 parent 603a351 commit a014774
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/functional/api/test_groups.py
Expand Up @@ -33,6 +33,10 @@ def test_groups(gl):
assert group3.parent_id == p_id
assert group2.subgroups.list()[0].id == group3.id

filtered_groups = gl.groups.list(skip_groups=[group3.id, group4.id])
assert group3 not in filtered_groups
assert group3 not in filtered_groups

group1.members.create(
{"access_level": gitlab.const.OWNER_ACCESS, "user_id": user.id}
)
Expand Down

0 comments on commit a014774

Please sign in to comment.