diff options
| author | Max Wittig <max.wittig@siemens.com> | 2021-04-23 09:20:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 09:20:34 +0200 |
| commit | 976e14d95fc5716ad161cbf39d50e5863cd9b335 (patch) | |
| tree | a67bbd8ab6ca23d9b61992643c26f9cd2e19df7f /gitlab/tests/test_gitlab.py | |
| parent | 5fac07ab883120375532bfaf1dcae0f1d8940fb6 (diff) | |
| parent | 40f4ab20ba0903abd3d5c6844fc626eb264b9a6a (diff) | |
| download | gitlab-976e14d95fc5716ad161cbf39d50e5863cd9b335.tar.gz | |
Merge pull request #1397 from JohnVillalovos/jlvillal/flake8
Fix all issues reported by running: tox -e pep8 and enable pep8 as a linter check
Diffstat (limited to 'gitlab/tests/test_gitlab.py')
| -rw-r--r-- | gitlab/tests/test_gitlab.py | 8 |
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) |
