diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2020-10-08 22:12:35 +0200 |
---|---|---|
committer | Nejc Habjan <nejc.habjan@siemens.com> | 2020-10-08 22:12:35 +0200 |
commit | 65ce02675d9c9580860df91b41c3cf5e6bb8d318 (patch) | |
tree | fb3e62f8e01b2460050439f81ce157c4127abce9 /tools/functional/api/test_gitlab.py | |
parent | 61e43eb186925feede073c7065e5ae868ffbb4ec (diff) | |
download | gitlab-refactor/split-functional-tests.tar.gz |
chore: apply suggestionsrefactor/split-functional-tests
Diffstat (limited to 'tools/functional/api/test_gitlab.py')
-rw-r--r-- | tools/functional/api/test_gitlab.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/functional/api/test_gitlab.py b/tools/functional/api/test_gitlab.py index 347213c..7a70a56 100644 --- a/tools/functional/api/test_gitlab.py +++ b/tools/functional/api/test_gitlab.py @@ -110,7 +110,7 @@ def test_hooks(gl): def test_namespaces(gl): namespace = gl.namespaces.list(all=True) - assert len(namespace) != 0 + assert namespace namespace = gl.namespaces.list(search="root", all=True)[0] assert namespace.kind == "user" |