Skip to content

Commit

Permalink
[FIX] fix test_20_message_post to take care of different notification…
Browse files Browse the repository at this point in the history
…_email_send default value in ocb

https://launchpad.net/bugs/1163832
  • Loading branch information
Christophe CHAUVET authored and Stefan Rijnhart committed Jul 2, 2014
1 parent 19d4416 commit 2ee1478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/mail/tests/test_mail_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def test_20_message_post(self):
self.res_users.write(cr, uid, [uid], {'email': 'a@a', 'notification_email_send': 'comment'})
self.res_users.write(cr, uid, [self.user_raoul_id], {'email': 'r@r'})
# 1 - Bert Tartopoils, with email, should receive emails for comments and emails
p_b_id = self.res_partner.create(cr, uid, {'name': 'Bert Tartopoils', 'email': 'b@b'})
p_b_id = self.res_partner.create(cr, uid, {'name': 'Bert Tartopoils', 'email': 'b@b', 'notification_email_send': 'comment'})
# 2 - Carine Poilvache, with email, should receive emails for emails
p_c_id = self.res_partner.create(cr, uid, {'name': 'Carine Poilvache', 'email': 'c@c', 'notification_email_send': 'email'})
# 3 - Dédé Grosbedon, without email, to test email verification; should receive emails for every message
Expand Down

0 comments on commit 2ee1478

Please sign in to comment.