remove create-fake-letter-response-file

This commit is contained in:
stvnrlly
2022-12-07 12:09:19 -05:00
parent 4260576fb2
commit cb7b42c2cc
4 changed files with 1 additions and 166 deletions

View File

@@ -15,7 +15,6 @@ from app import (
encryption,
notify_celery,
)
from app.celery.research_mode_tasks import create_fake_letter_response_file
from app.celery.tasks import save_api_email, save_api_sms
from app.clients.document_download import DocumentDownloadError
from app.config import QueueNames, TaskNames
@@ -381,12 +380,6 @@ def process_letter_notification(
postage=postage
)
if test_key and current_app.config['NOTIFY_ENVIRONMENT'] in ['preview', 'development']:
create_fake_letter_response_file.apply_async(
(notification.reference,),
queue=queue
)
resp = create_response_for_post_notification(
notification_id=notification.id,
client_reference=notification.client_reference,