We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentcbc3419 commit34c9682Copy full SHA for 34c9682
tests/functional/api/test_statistics.py
@@ -14,12 +14,17 @@ def test_get_statistics(gl):
14
}
15
)
16
gl.groups.create({"name":"gryffindor","path":"gryffindor"})
17
+gl.groups.create({"name":"slytherin","path":"slytherin"})
18
gl.snippets.create(
- {"title":"uniquesnippet","file_name":"snippet394.py","content":"import gitlab"}
19
+ {
20
+"title":"uniquesnippet",
21
+"file_name":"snippet394.py",
22
+"content":"import gitlab",
23
+ }
24
25
26
statistics=gl.statistics.get()
-assertstatistics.snippets==1
-assertstatistics.users==1
-assertstatistics.groups==1
-assertstatistics.projects==1
27
+assertstatistics.snippets=="1"
28
+assertstatistics.users=="1"
29
+assertstatistics.groups=="2"
30
+assertstatistics.projects=="1"