'Verify we can get all of a user\'s badge assertions.'

def test_get_assertions(self):

    for dummy in range(3):
        BadgeAssertionFactory(user=self.user)
    BadgeAssertionFactory(user=self.user, badge_class=BadgeClassFactory(course_id=self.course.location.course_key))
    for dummy in range(3):
        self.create_badge_class(False)
    response = self.get_json(self.url())
    self.assertEqual(len(response['results']), 4)
