Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Update tests to reflect changes to email subject and email body
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Giesler committed Jan 9, 2015
1 parent e78bf5a commit b06bced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/billing/tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@ def test_email_sent(self):
self.assertEqual(
'Vumi Go account %s (%s) at %s%% left of available credits' % (
str(self.acc.user.email), str(self.acc.user.get_full_name()),
'29.900'),
'70.100'),
email.subject)
self.assertTrue('29.900%' in email.body)
self.assertTrue('12.34' in email.body)
self.assertTrue(self.django_user.get_full_name() in email.body)
self.assertTrue(str(notification.pk) in email.body)
self.assertTrue(str(self.acc) in email.body)
self.assertTrue(str(self.acc.user.email) in email.body)

0 comments on commit b06bced

Please sign in to comment.