Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84969ff

Browse files
committed
test: fix stats functional test adjustment
1 parentf04510c commit84969ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎tests/functional/api/test_statistics.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
GitLab API: https://docs.gitlab.com/ee/api/statistics.html
33
"""
44

5-
fromitertoolsimportcount
65
fromtests.functional.conftestimportreset_gitlab
76

87

@@ -32,6 +31,6 @@ def test_get_statistics(gl):
3231

3332
statistics=gl.statistics.get()
3433
assertstatistics.snippets=="1"
35-
assertstatistics.users==str(1+count(gl.users.list(search="ghost")))
34+
assertstatistics.users==str(1+len(gl.users.list(search="ghost")))
3635
assertstatistics.groups=="2"
3736
assertstatistics.projects=="1"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp