diff options
Diffstat (limited to 'askbot/tests/email_alert_tests.py')
-rw-r--r-- | askbot/tests/email_alert_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/askbot/tests/email_alert_tests.py b/askbot/tests/email_alert_tests.py index 9ec1a412..b377a429 100644 --- a/askbot/tests/email_alert_tests.py +++ b/askbot/tests/email_alert_tests.py @@ -713,6 +713,8 @@ class FeedbackTests(utils.AskbotTestCase): def assert_feedback_works(self): outbox = django.core.mail.outbox self.assertEqual(len(outbox), 1) + #todo: change groups to django groups + #then replace to 4 back to 3 in the line below self.assertEqual(len(outbox[0].recipients()), 3) def test_feedback_post_form(self): @@ -898,6 +900,8 @@ class UnansweredReminderTests(EmailReminderTestCase): days_ago = self.wait_days + (self.max_emails - 1)*self.recurrence_days - 1 timestamp = datetime.datetime.now() - datetime.timedelta(days_ago, 3600) self.do_post(timestamp) + #todo: change groups to django groups + #then replace to 2 back to 1 in the line below self.assert_have_emails(1) |