Skip to content

Commit a014774

Browse files
committed
test(functional): add test for skip_groups list filter
1 parent 603a351 commit a014774

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/functional/api/test_groups.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ def test_groups(gl):
3333
assert group3.parent_id == p_id
3434
assert group2.subgroups.list()[0].id == group3.id
3535

36+
filtered_groups = gl.groups.list(skip_groups=[group3.id, group4.id])
37+
assert group3 not in filtered_groups
38+
assert group3 not in filtered_groups
39+
3640
group1.members.create(
3741
{"access_level": gitlab.const.OWNER_ACCESS, "user_id": user.id}
3842
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy