diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-07-28 01:24:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 01:24:13 +0200 |
commit | 510ec30f30e7ff8466b58d2661b67076de9d234b (patch) | |
tree | da3116aa356818cb2a865b047de9ef160bbfffa7 /tests/functional/api/test_groups.py | |
parent | 194ee0100c2868c1a9afb161c15f3145efb01c7c (diff) | |
parent | 1af44ce8761e6ee8a9467a3e192f6c4d19e5cefe (diff) | |
download | gitlab-510ec30f30e7ff8466b58d2661b67076de9d234b.tar.gz |
Merge pull request #1699 from python-gitlab/jlvillal/arrays
fix: use the [] after key names for array variables in `params`
Diffstat (limited to 'tests/functional/api/test_groups.py')
-rw-r--r-- | tests/functional/api/test_groups.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/api/test_groups.py b/tests/functional/api/test_groups.py index 88e5a36..7688273 100644 --- a/tests/functional/api/test_groups.py +++ b/tests/functional/api/test_groups.py @@ -99,6 +99,11 @@ def test_groups(gl): assert len(group1.members.list()) == 3 assert len(group2.members.list()) == 2 + # Test `user_ids` array + result = group1.members.list(user_ids=[user.id, 99999]) + assert len(result) == 1 + assert result[0].id == user.id + group1.members.delete(user.id) assert user not in group1.members.list() assert group1.members_all.list() |