Skip to content

Commit

Permalink
fix perf test link sending (#2446)
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels authored Feb 7, 2025
1 parent 0879e01 commit c636d81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests-perf/locust/locust-notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"""
# 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
from dataclasses import make_dataclass

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', [
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit c636d81

Please sign in to comment.