Skip to content

Commit cbc3419

Browse files
committed
test: use unique parameters for statistics test
1 parent 540f575 commit cbc3419

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/functional/api/test_statistics.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55

66
def test_get_statistics(gl):
7-
gl.projects.create({"name": "admin_project"})
7+
gl.projects.create({"name": "projecttruffles"})
88
gl.users.create(
99
{
10-
"email": "user@test.com",
11-
"username": "user",
12-
"name": "user",
13-
"password": "user_pass",
10+
"email": "veryuniqueemail@test.com",
11+
"username": "plsdontclash",
12+
"name": "uniqueuser",
13+
"password": "hopefullythisdoesnthavetobeunique",
1414
}
1515
)
16-
gl.groups.create({"name": "gitlab-test-group1", "path": "gitlab-test-group1"})
16+
gl.groups.create({"name": "gryffindor", "path": "gryffindor"})
1717
gl.snippets.create(
18-
{"title": "snippet1", "file_name": "snippet1.py", "content": "import gitlab"}
18+
{"title": "uniquesnippet", "file_name": "snippet394.py", "content": "import gitlab"}
1919
)
2020

2121
statistics = gl.statistics.get()

0 commit comments

Comments
 (0)