diff --git a/app/main/views/platform_admin.py b/app/main/views/platform_admin.py index 17ca7d621..182a25cfe 100644 --- a/app/main/views/platform_admin.py +++ b/app/main/views/platform_admin.py @@ -796,7 +796,6 @@ def load_test(): messagese will be sent in this service. """ # SIMULATED_SMS_NUMBERS = ("+14254147755", "+14254147167") - print(hilite("ENTER LOAD TEST")) service = _find_load_test_service() _prepare_load_test_service(service) example_template = _find_example_template(service) @@ -853,6 +852,6 @@ def _prepare_load_test_service(service): ) except Exception: current_app.logger.exception( - f"Couldnt add user, may already be part of service" + "Couldnt add user, may already be part of service" ) pass diff --git a/app/main/views/send.py b/app/main/views/send.py index eda5ae8fc..14272d697 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -7,7 +7,6 @@ from flask import ( abort, current_app, flash, - json, redirect, render_template, request, @@ -621,7 +620,6 @@ def _check_messages(service_id, template_id, upload_id, preview_row, **kwargs): ) @user_has_permissions("send_messages", restrict_admin_usage=True) def check_messages(service_id, template_id, upload_id, row_index=2): - print(hilite("ENTER check_messages")) data = _check_messages(service_id, template_id, upload_id, row_index) data["allowed_file_extensions"] = Spreadsheet.ALLOWED_FILE_EXTENSIONS @@ -1037,7 +1035,6 @@ def _send_notification(service_id, template_id): form.file.name = filename # TODO IF RUNNING LOAD TEST WE DONT NEED check_message_output = check_messages(service_id, template_id, upload_id, 2) - print(hilite(hilite(f"CHECK MESSAGE OUTPUT {check_message_output}"))) if "You cannot send to" in check_message_output: return check_messages(service_id, template_id, upload_id, 2)