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

Commitb437b70

Browse files
committed
test: account for root user
1 parent84969ff commitb437b70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎tests/functional/api/test_statistics.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def test_get_statistics(gl):
3131

3232
statistics=gl.statistics.get()
3333
assertstatistics.snippets=="1"
34-
assertstatistics.users==str(1+len(gl.users.list(search="ghost")))
34+
assertstatistics.users==str(
35+
1+len(gl.users.list(search="ghost"))+1
36+
)# created users + leftover ghost user + root user
3537
assertstatistics.groups=="2"
3638
assertstatistics.projects=="1"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp