Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c878a4

Browse files
chore: correct test_groups.py test
The test was checking twice if the same group3 was not in the returnedlist. Should have been checking for group3 and group4.Also added a test that only skipped one group and checked that thegroup was not in the returned list and a non-skipped group was in thelist.
1 parent2cd15ac commit9c878a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎tests/functional/api/test_groups.py

Lines changed: 4 additions & 0 deletions
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
assertgroup3notinfiltered_groups
39+
assertgroup4notinfiltered_groups
40+
41+
filtered_groups=gl.groups.list(skip_groups=[group3.id])
3942
assertgroup3notinfiltered_groups
43+
assertgroup4infiltered_groups
4044

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp