summaryrefslogtreecommitdiff
path: root/tests/functional/api/test_gitlab.py
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-01-22 20:11:18 +0100
committerJohn Villalovos <john@sodarock.com>2022-01-23 07:14:49 -0800
commit019a40f840da30c74c1e74522a7707915061c756 (patch)
tree84806a6a03d027f8bea087ba752132c907f737c7 /tests/functional/api/test_gitlab.py
parentae2a015db1017d3bf9b5f1c5893727da9b0c937f (diff)
downloadgitlab-019a40f840da30c74c1e74522a7707915061c756.tar.gz
style: use literals to declare data structures
Diffstat (limited to 'tests/functional/api/test_gitlab.py')
-rw-r--r--tests/functional/api/test_gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/api/test_gitlab.py b/tests/functional/api/test_gitlab.py
index d54a7f1..b071128 100644
--- a/tests/functional/api/test_gitlab.py
+++ b/tests/functional/api/test_gitlab.py
@@ -164,7 +164,7 @@ def test_rate_limits(gl):
settings.throttle_authenticated_api_period_in_seconds = 3
settings.save()
- projects = list()
+ projects = []
for i in range(0, 20):
projects.append(gl.projects.create({"name": f"{str(i)}ok"}))