mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
flake8 fixes
a stricter flake8 bump. mostly things around f strings and format strings, but a couple of bad placeholder names in loops
This commit is contained in:
@@ -412,7 +412,7 @@ def test_update_broadcast_message_status_rejects_approval_from_creator(
|
||||
)
|
||||
|
||||
assert mock_task.called is False
|
||||
assert f'cannot approve their own broadcast' in response['message']
|
||||
assert 'cannot approve their own broadcast' in response['message']
|
||||
|
||||
|
||||
def test_update_broadcast_message_status_rejects_approval_of_broadcast_with_no_areas(
|
||||
@@ -523,7 +523,7 @@ def test_update_broadcast_message_status_rejects_approval_from_user_not_on_that_
|
||||
)
|
||||
|
||||
assert mock_task.called is False
|
||||
assert f'cannot approve broadcast' in response['message']
|
||||
assert 'cannot approve broadcast' in response['message']
|
||||
|
||||
|
||||
@pytest.mark.parametrize('current_status, new_status', [
|
||||
|
||||
Reference in New Issue
Block a user