Update report_sem?_date after sending report to student
This commit is contained in:
parent
3758982989
commit
b15a8418fc
2 changed files with 6 additions and 0 deletions
|
|
@ -395,3 +395,6 @@ class ImportTests(TestCase):
|
|||
# Second email as bcc
|
||||
self.assertEqual(mail.outbox[0].recipients(), ['albin@example.org', 'me@example.org'])
|
||||
self.assertIn("le bulletin scolaire de Monsieur Albin Dupond", mail.outbox[0].body)
|
||||
student.refresh_from_db()
|
||||
self.assertIsNotNone(student.report_sem1_sent)
|
||||
self.assertIsNone(student.report_sem2_sent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue