Esempio n. 1
0
  def createStudentProjects(self):
    """Creates two student projects.
    """
    from soc.modules.gsoc.models.student_project import StudentProject
    mentor = GSoCProfileHelper(self.gsoc, self.dev_test)
    mentor.createOtherUser('*****@*****.**').createMentor(self.org)

    student = GSoCProfileHelper(self.gsoc, self.dev_test)
    student.createOtherUser('*****@*****.**')
    student.createStudentWithProjects(self.org, mentor.profile, 2)
Esempio n. 2
0
    def createStudentProjects(self):
        """Creates two student projects.
    """
        from soc.modules.gsoc.models.student_project import StudentProject
        mentor = GSoCProfileHelper(self.gsoc, self.dev_test)
        mentor.createOtherUser('*****@*****.**').createMentor(self.org)

        student = GSoCProfileHelper(self.gsoc, self.dev_test)
        student.createOtherUser('*****@*****.**')
        student.createStudentWithProjects(self.org, mentor.profile, 2)