summaryrefslogtreecommitdiff
path: root/tests/functional/api/test_groups.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-05-29 23:47:46 +0200
committerJohn Villalovos <john@sodarock.com>2021-05-29 21:06:15 -0700
commit1b70580020825adf2d1f8c37803bc4655a97be41 (patch)
tree8e754db6fb365ce7c7fa01e51e527e5fdded630f /tests/functional/api/test_groups.py
parent237b97ceb0614821e59ea041f43a9806b65cdf8c (diff)
downloadgitlab-1b70580020825adf2d1f8c37803bc4655a97be41.tar.gz
feat(objects): add support for descendant groups API
Diffstat (limited to 'tests/functional/api/test_groups.py')
-rw-r--r--tests/functional/api/test_groups.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/api/test_groups.py b/tests/functional/api/test_groups.py
index eae2d9b..c2b8cbd 100644
--- a/tests/functional/api/test_groups.py
+++ b/tests/functional/api/test_groups.py
@@ -32,6 +32,7 @@ def test_groups(gl):
assert len(gl.groups.list(search="oup1")) == 1
assert group3.parent_id == p_id
assert group2.subgroups.list()[0].id == group3.id
+ assert group2.descendant_groups.list()[0].id == group3.id
filtered_groups = gl.groups.list(skip_groups=[group3.id, group4.id])
assert group3 not in filtered_groups