File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,17 @@ def test_get_statistics(gl):
1414 }
1515 )
1616 gl .groups .create ({"name" : "gryffindor" , "path" : "gryffindor" })
17+ gl .groups .create ({"name" : "slytherin" , "path" : "slytherin" })
1718 gl .snippets .create (
18- {"title" : "uniquesnippet" , "file_name" : "snippet394.py" , "content" : "import gitlab" }
19+ {
20+ "title" : "uniquesnippet" ,
21+ "file_name" : "snippet394.py" ,
22+ "content" : "import gitlab" ,
23+ }
1924 )
2025
2126 statistics = gl .statistics .get ()
22- assert statistics .snippets == 1
23- assert statistics .users == 1
24- assert statistics .groups == 1
25- assert statistics .projects == 1
27+ assert statistics .snippets == "1"
28+ assert statistics .users == "1"
29+ assert statistics .groups == "2"
30+ assert statistics .projects == "1"
You can’t perform that action at this time.
0 commit comments