mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
more
This commit is contained in:
@@ -197,7 +197,7 @@ def test_should_not_send_email_message_when_service_is_inactive_notifcation_is_i
|
||||
assert str(sample_notification.id) in str(e.value)
|
||||
send_mock.assert_not_called()
|
||||
assert (
|
||||
Notification.query.get(sample_notification.id).status
|
||||
db.session.get(Notification, sample_notification.id).status
|
||||
== NotificationStatus.TECHNICAL_FAILURE
|
||||
)
|
||||
|
||||
@@ -221,7 +221,7 @@ def test_should_not_send_sms_message_when_service_is_inactive_notification_is_in
|
||||
assert str(sample_notification.id) in str(e.value)
|
||||
send_mock.assert_not_called()
|
||||
assert (
|
||||
Notification.query.get(sample_notification.id).status
|
||||
db.session.get(Notification, sample_notification.id).status
|
||||
== NotificationStatus.TECHNICAL_FAILURE
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user