Skip to content

Commit 178ec1a

Browse files
authored
Merge pull request python-gitlab#1701 from python-gitlab/jlvillal/func_test
chore: correct test_groups.py test
2 parents 2cd15ac + 9c878a4 commit 178ec1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/functional/api/test_groups.py

+4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ def test_groups(gl):
3636

3737
filtered_groups = gl.groups.list(skip_groups=[group3.id, group4.id])
3838
assert group3 not in filtered_groups
39+
assert group4 not in filtered_groups
40+
41+
filtered_groups = gl.groups.list(skip_groups=[group3.id])
3942
assert group3 not in filtered_groups
43+
assert group4 in filtered_groups
4044

4145
group1.members.create(
4246
{"access_level": gitlab.const.OWNER_ACCESS, "user_id": user.id}

0 commit comments

Comments
 (0)