'Sets up the initial form data and the expected clean data.'

def set_up_data(self, user):

    self.initial = {'requesting_user': user}
    self.form_data = QueryDict(urlencode({'username': user.username, 'course_key': unicode(self.course.id)}), mutable=True)
    self.cleaned_data = {'username': user.username, 'course_key': self.course.id}
