We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04510c commit 84969ffCopy full SHA for 84969ff
tests/functional/api/test_statistics.py
@@ -2,7 +2,6 @@
2
GitLab API: https://docs.gitlab.com/ee/api/statistics.html
3
"""
4
5
-from itertools import count
6
from tests.functional.conftest import reset_gitlab
7
8
@@ -32,6 +31,6 @@ def test_get_statistics(gl):
32
31
33
statistics = gl.statistics.get()
34
assert statistics.snippets == "1"
35
- assert statistics.users == str(1 + count(gl.users.list(search="ghost")))
+ assert statistics.users == str(1 + len(gl.users.list(search="ghost")))
36
assert statistics.groups == "2"
37
assert statistics.projects == "1"
0 commit comments