From c636d81b2bf1cd17de39e1c16727324cdc6831bb Mon Sep 17 00:00:00 2001 From: Steve Astels Date: Fri, 7 Feb 2025 16:12:41 -0500 Subject: [PATCH] fix perf test link sending (#2446) --- tests-perf/locust/locust-notifications.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests-perf/locust/locust-notifications.py b/tests-perf/locust/locust-notifications.py index 312215fe04..7208821f5c 100644 --- a/tests-perf/locust/locust-notifications.py +++ b/tests-perf/locust/locust-notifications.py @@ -3,6 +3,9 @@ """ # flake8: noqa +from tests_smoke.smoke.common import job_line, rows_to_csv # type: ignore +from locust import HttpUser, constant_pacing, task +from dotenv import load_dotenv import os import sys from datetime import datetime @@ -10,9 +13,6 @@ sys.path.append(os.path.abspath(os.path.join("..", "tests_smoke"))) -from dotenv import load_dotenv -from locust import HttpUser, constant_pacing, task -from tests_smoke.smoke.common import job_line, rows_to_csv # type: ignore load_dotenv() NotifyApiUserTemplateGroup = make_dataclass('NotifyApiUserTemplateGroup', [ @@ -65,7 +65,7 @@ def send_email_with_attachment_notifications(self): @task(2) def send_email_with_link_notifications(self): personalisation = { - "application_file": { + "var": { "file": "Q29udGVudCBvZiBBdHRhY2hlZCBmaWxl", "filename": "attached_file.txt", "sending_method": "link",