add load_test to excluded

This commit is contained in:
Kenneth Kehl
2024-09-02 09:01:42 -07:00
parent 8b81c5ce7d
commit f6a1f1af5b

View File

@@ -944,8 +944,10 @@ def preview_notification(service_id, template_id):
def send_notification(service_id, template_id):
upload_id = _send_notification(service_id, template_id)
session.pop("recipient")
session.pop("placeholders")
if session.get("recipient"):
session.pop("recipient")
if session.get("placeholders"):
session.pop("placeholders")
# We have to wait for the job to run and create the notification in the database
time.sleep(0.1)