'Used for tests which may need to test for a course_id or a wildcard.'

def get_course_id(self, wildcard, badge_class):

    if wildcard:
        return '*'
    else:
        return unicode(badge_class.course_id)
