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:
Katie Smith
2022-04-06 11:35:14 +01:00
parent 0bec5e8f0a
commit b5fa270cd2
4 changed files with 11 additions and 11 deletions

View File

@@ -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')