def setUp(self):
     super(CertificateManagementTest, self).setUp()
     self.user = UserFactory.create()
     self.courses = [
         CourseFactory.create()
         for __ in range(3)
     ]
     CourseCompleteImageConfigurationFactory.create()
示例#2
0
 def setUp(self):
     super(CertificateManagementTest, self).setUp()
     self.user = UserFactory.create()
     self.courses = [
         CourseFactory.create()
         for __ in range(3)
     ]
     CourseCompleteImageConfigurationFactory.create()
示例#3
0
 def setUp(self):
     super(CertificateManagementTest, self).setUp()
     self.user = UserFactory.create()
     self.courses = [CourseFactory.create() for __ in range(3)]
     for course in self.courses:
         chapter = ItemFactory.create(parent_location=course.location)
         ItemFactory.create(parent_location=chapter.location, category="sequential", graded=True)
     CourseCompleteImageConfigurationFactory.create()
 def setUp(self):
     super(CertificateManagementTest, self).setUp()
     self.user = UserFactory.create()
     self.courses = [CourseFactory.create() for __ in range(3)]
     for course in self.courses:
         chapter = ItemFactory.create(parent_location=course.location)
         ItemFactory.create(parent_location=chapter.location,
                            category='sequential',
                            graded=True)
     CourseCompleteImageConfigurationFactory.create()