Mercurial > public > sg101
diff donations/tests.py @ 785:85880b0df024
Tweak donations test since we changed the monthly goal.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 17 May 2014 12:10:09 -0500 |
parents | 00c14431e911 |
children | 9e803323a0d0 |
line wrap: on
line diff
--- a/donations/tests.py Sat May 17 12:09:54 2014 -0500 +++ b/donations/tests.py Sat May 17 12:10:09 2014 -0500 @@ -116,9 +116,9 @@ def test_monthly_goal_pct(self): - self.assertEqual(settings.DONATIONS_GOAL, Decimal('100.00')) + self.assertEqual(settings.DONATIONS_GOAL, Decimal('120.00')) pct = Donation.objects.monthly_goal_pct(year=2012, month=9) - self.assertEqual(pct, 23) + self.assertEqual(pct, 19) def test_monthly_goal_pct2(self):