summaryrefslogtreecommitdiff
path: root/tools/functional/api/test_gitlab.py
diff options
context:
space:
mode:
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"