From 380f227a1ecffd5e22ae7aefed95af3b5d830994 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Sat, 17 Apr 2021 14:01:45 -0700 Subject: 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) --- gitlab/tests/test_gitlab.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gitlab/tests/test_gitlab.py') 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) -- cgit v1.2.1