File tree Expand file tree Collapse file tree
accessibility_monitoring_platform/apps/notifications/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1046,7 +1046,9 @@ def test_email_all_specialists_all_detailed_reminders_due(mailoutbox):
10461046 specialist_group .user_set .add (specialist_2 )
10471047
10481048 detailed_case_1 : DetailedCase = DetailedCase .objects .create (
1049- organisation_name = "Detailed Organisation One"
1049+ organisation_name = "Detailed Organisation One" ,
1050+ website_name = "Website name" ,
1051+ auditor = specialist_1 ,
10501052 )
10511053 Task .objects .create (
10521054 type = Task .Type .REMINDER ,
@@ -1090,3 +1092,5 @@ def test_email_all_specialists_all_detailed_reminders_due(mailoutbox):
10901092 assert "First reminder description" in mailoutbox [0 ].body
10911093 assert "Second reminder description" in mailoutbox [0 ].body
10921094 assert "Third reminder description" not in mailoutbox [0 ].body
1095+
1096+ # print(mailoutbox[0].message()) # Visible when run with pytest -s
You can’t perform that action at this time.
0 commit comments