@@ -0,0 +1,816 @@
+from retry.api import retry_call%0Afrom config import Config%0A%0Afrom tests.postman import (%0A    send_notification_via_api,%0A    get_notification_by_id_via_api,%0A    NotificationStatuses%0A)%0A%0Afrom tests.test_utils import assert_notification_body, recordtime%0A%0A%0A@recordtime%0Adef test_send_letter_notification_via_api(profile, seeded_client):%0A    notification_id = send_notification_via_api(%0A        seeded_client, profile.jenkins_build_letter_template_id,%0A        profile.notify_research_letter_contact, 'letter'%0A    )%0A%0A    notification = retry_call(%0A        get_notification_by_id_via_api,%0A        fargs=%5Bseeded_client, notification_id, NotificationStatuses.SENT%5D,%0A        tries=Config.NOTIFICATION_RETRY_TIMES,%0A        delay=Config.NOTIFICATION_RETRY_INTERVAL%0A    )%0A    assert_notification_body(notification_id, notification)%0A

Test creating letter notification via API