mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
fix flake8
This commit is contained in:
@@ -15,8 +15,11 @@ def test_check_sms_no_event_error_condition(notify_api, mocker):
|
||||
boto_mock.filter_log_events.return_value = []
|
||||
with notify_api.app_context():
|
||||
aws_cloudwatch_client.init_app(current_app)
|
||||
# with pytest.raises(Exception):
|
||||
aws_cloudwatch_client.check_sms(message_id, notification_id)
|
||||
try:
|
||||
aws_cloudwatch_client.check_sms(message_id, notification_id)
|
||||
assert 1 == 0
|
||||
except Exception as e:
|
||||
assert 1 == 1
|
||||
|
||||
|
||||
def side_effect(filterPattern, logGroupName, startTime, endTime):
|
||||
|
||||
Reference in New Issue
Block a user