summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlab.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-04-17 14:01:45 -0700
committerJohn L. Villalovos <john@sodarock.com>2021-04-18 07:04:40 -0700
commit380f227a1ecffd5e22ae7aefed95af3b5d830994 (patch)
tree7fb5914657c8acdefe5b91e85abd58228905c536 /gitlab/tests/test_gitlab.py
parentaf781c10db3829163f977e494e4008acf2096d64 (diff)
downloadgitlab-380f227a1ecffd5e22ae7aefed95af3b5d830994.tar.gz
chore: fix E741/E742 errors reported by flake8
Fixes to resolve errors for: https://www.flake8rules.com/rules/E741.html Do not use variables named 'I', 'O', or 'l' (E741) https://www.flake8rules.com/rules/E742.html Do not define classes named 'I', 'O', or 'l' (E742)
Diffstat (limited to 'gitlab/tests/test_gitlab.py')
-rw-r--r--gitlab/tests/test_gitlab.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitlab/tests/test_gitlab.py b/gitlab/tests/test_gitlab.py
index 4a82207..127b2c1 100644
--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -86,10 +86,10 @@ def test_gitlab_build_list(gl):
assert obj.total == 2
with HTTMock(resp_page_2):
- l = list(obj)
- assert len(l) == 2
- assert l[0]["a"] == "b"
- assert l[1]["c"] == "d"
+ test_list = list(obj)
+ assert len(test_list) == 2
+ assert test_list[0]["a"] == "b"
+ assert test_list[1]["c"] == "d"
@with_httmock(resp_page_1, resp_page_2)