summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-22 23:50:40 +0100
committerGitHub <noreply@github.com>2021-11-22 23:50:40 +0100
commit178ec1aa5183b3d042fbde29f53f64c410d6caed (patch)
treeaccd852ce30d462f12b992d97bd912c9308b9f39
parent2cd15ac44d8a45fa2d0dcab80cc933e3871db7f8 (diff)
parent9c878a4090ddb9c0ef63d06b57eb0e4926276e2f (diff)
downloadgitlab-178ec1aa5183b3d042fbde29f53f64c410d6caed.tar.gz
Merge pull request #1701 from python-gitlab/jlvillal/func_test
chore: correct test_groups.py test
-rw-r--r--tests/functional/api/test_groups.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/api/test_groups.py b/tests/functional/api/test_groups.py
index 665c933..77562c1 100644
--- a/tests/functional/api/test_groups.py
+++ b/tests/functional/api/test_groups.py
@@ -36,7 +36,11 @@ def test_groups(gl):
filtered_groups = gl.groups.list(skip_groups=[group3.id, group4.id])
assert group3 not in filtered_groups
+ assert group4 not in filtered_groups
+
+ filtered_groups = gl.groups.list(skip_groups=[group3.id])
assert group3 not in filtered_groups
+ assert group4 in filtered_groups
group1.members.create(
{"access_level": gitlab.const.OWNER_ACCESS, "user_id": user.id}