'Publish the user\'s grade, takes grade_dict as input'

def set_module_grade_using_publish(self, grade_dict):

    module = self.get_module_for_user(self.student_user)
    module.system.publish(module, 'grade', grade_dict)
    return module
