mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-27 09:29:22 -04:00
Bump all test dependencies
This results in some new errors from flake8-bugbear: ``` B020: Loop control variable overrides iterable it iterates ``` I can't see an issue with the places that we do this, so have ignored these warnings. If we keep getting these and they look fine, we can create a global rule to ignore B020.
This commit is contained in:
@@ -1288,7 +1288,7 @@ def test_choose_a_template_to_copy(
|
||||
|
||||
assert len(actual) == len(expected)
|
||||
|
||||
for actual, expected in zip(actual, expected):
|
||||
for actual, expected in zip(actual, expected): # noqa: B020
|
||||
assert normalize_spaces(actual.text) == expected
|
||||
|
||||
links = page.select('main nav a')
|
||||
@@ -1354,7 +1354,7 @@ def test_choose_a_template_to_copy_when_user_has_one_service(
|
||||
|
||||
assert len(actual) == len(expected)
|
||||
|
||||
for actual, expected in zip(actual, expected):
|
||||
for actual, expected in zip(actual, expected): # noqa: B020
|
||||
assert normalize_spaces(actual.text) == expected
|
||||
|
||||
assert page.select('main nav a')[0]['href'] == url_for(
|
||||
@@ -1437,7 +1437,7 @@ def test_choose_a_template_to_copy_from_folder_within_service(
|
||||
|
||||
assert len(actual) == len(expected)
|
||||
|
||||
for actual, expected in zip(actual, expected):
|
||||
for actual, expected in zip(actual, expected): # noqa: B020
|
||||
assert normalize_spaces(actual.text) == expected
|
||||
|
||||
links = page.select('main nav a')
|
||||
|
||||
Reference in New Issue
Block a user