summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2017-12-26 09:24:03 +0100
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2017-12-26 09:24:03 +0100
commit7efbc30b9d8cf8ea856b68ab85b9cd2340121358 (patch)
treeaf2630e22d9bfe9b52048b145bc38c7ef0369bdb /tools/python_test_v4.py
parent70e721f1eebe5194e18abe49163181559be6897a (diff)
downloadgitlab-7efbc30b9d8cf8ea856b68ab85b9cd2340121358.tar.gz
Update groups tests
Group search in gitlab 10.3 requires a query string with more than 3 characters. Not sure if feature or bug, but let's handle it.
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index a306f48..bf69500 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -204,7 +204,7 @@ p_id = gl.groups.list(search='group2')[0].id
group3 = gl.groups.create({'name': 'group3', 'path': 'group3', 'parent_id': p_id})
assert(len(gl.groups.list()) == 3)
-assert(len(gl.groups.list(search='1')) == 1)
+assert(len(gl.groups.list(search='oup1')) == 1)
assert(group3.parent_id == p_id)
group1.members.create({'access_level': gitlab.Group.OWNER_ACCESS,