fix flake8

This commit is contained in:
Kenneth Kehl
2023-07-21 11:24:22 -07:00
parent 6fa4c05adf
commit 89b733dd54
7 changed files with 40 additions and 21 deletions

View File

@@ -745,7 +745,7 @@ def test_should_delete_notification_and_return_error_if_redis_fails(
save_model_api_key(api_key)
auth_header = create_jwt_token(secret=api_key.secret, client_id=str(api_key.service_id))
with pytest.raises(Exception) as e:
with pytest.raises(expected_exception=Exception) as e:
client.post(
path='/notifications/{}'.format(template_type),
data=json.dumps(data),