From ed2e7233b37434c8e848d39a24038abd15600e4f Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 24 Nov 2017 08:57:38 +0100 Subject: [PATCH] Add extra assertion for confirmation_mail test --- candidats/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/candidats/tests.py b/candidats/tests.py index 150aacf..2b56d27 100644 --- a/candidats/tests.py +++ b/candidats/tests.py @@ -57,3 +57,5 @@ Hans Schmid me@example.org """.format() ) + # One was already set, 2 new. + self.assertEqual(Candidate.objects.filter(date_confirmation_mail__isnull=False).count(), 3)