mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
Remove unnecessary test_request_context manager
This doesn't affect how the tests run and just adds complexity.
This commit is contained in:
@@ -167,7 +167,6 @@ def test_delete_letter_notifications_older_than_retention_calls_child_task(notif
|
||||
|
||||
|
||||
def test_timeout_notifications_after_timeout(notify_api, sample_template):
|
||||
with notify_api.test_request_context():
|
||||
not1 = create_notification(
|
||||
template=sample_template,
|
||||
status='sending',
|
||||
@@ -190,7 +189,6 @@ def test_timeout_notifications_after_timeout(notify_api, sample_template):
|
||||
|
||||
|
||||
def test_timeout_notifications_before_timeout(notify_api, sample_template):
|
||||
with notify_api.test_request_context():
|
||||
not1 = create_notification(
|
||||
template=sample_template,
|
||||
status='sending',
|
||||
|
||||
Reference in New Issue
Block a user