summaryrefslogtreecommitdiff
path: root/tools/functional/api/test_gitlab.py
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2020-10-08 22:12:35 +0200
committerNejc Habjan <nejc.habjan@siemens.com>2020-10-08 22:12:35 +0200
commit65ce02675d9c9580860df91b41c3cf5e6bb8d318 (patch)
treefb3e62f8e01b2460050439f81ce157c4127abce9 /tools/functional/api/test_gitlab.py
parent61e43eb186925feede073c7065e5ae868ffbb4ec (diff)
downloadgitlab-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.py2
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"