Mercurial > public > sg101
diff donations/tests.py @ 789:9e803323a0d0
Removing AUTH_PROFILE_MODULE and get_profile().
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 23 May 2014 15:10:11 -0500 |
parents | 85880b0df024 |
children |
line wrap: on
line diff
--- a/donations/tests.py Sun May 18 17:43:37 2014 -0500 +++ b/donations/tests.py Fri May 23 15:10:11 2014 -0500 @@ -66,7 +66,7 @@ datetime.datetime(2011, 1, 21, 4, 14, 8)) # user should have got a badge for donating - p = user.get_profile() + p = user.profile badges = list(p.badges.all()) self.assertEqual(len(badges), 1) if len(badges) == 1: @@ -107,7 +107,7 @@ datetime.datetime(2011, 1, 16, 5, 40, 33)) # user should not have got a badge for donating - p = user.get_profile() + p = user.profile self.assertEqual(p.badges.count(), 0)