'Verify that awarded badges appear on the profile page.'

def test_badges_listed(self):

    badge_title = 'awesomesauce    badge'
    b = BadgeFactory(title=badge_title)
    u = UserFactory()
    AwardFactory(user=u, badge=b)
    r = self.client.get(reverse('users.profile', args=[u.username]))
    assert (badge_title in r.content)
