def METHOD_NAME(self):
    self.sample_course.add_detail(ALLOW_PUBLIC_COMPOSITIONS_KEY, 1)
    assignment = ProjectFactory.create(
        course=self.sample_course, author=self.student_one,
        policy=PUBLISH_WHOLE_CLASS[0],
        project_type=PROJECT_TYPE_ASSIGNMENT)
    ProjectFactory.create(
        course=self.sample_course, author=self.student_one,
        title="Student One Response",
        policy=PUBLISH_WHOLE_CLASS[0], parent=assignment)
    data = {}
    frm = ProjectForm(self.request, instance=assignment, data=data)
    self.assertEquals(frm.initial['publish'], PUBLISH_WHOLE_CLASS[0])
    lst = frm.fields['publish'].choices
    self.assertEquals(len(lst), 1)
    self.assertEquals(lst[0][0], PUBLISH_WHOLE_CLASS[0])