Ejemplo n.º 1
0
 def setUpClass(cls):
     super(InstructorServiceTests, cls).setUpClass()
     cls.course = CourseFactory.create()
     cls.problem_location = msk_from_problem_urlname(cls.course.id, "robot-some-problem-urlname")
     cls.other_problem_location = msk_from_problem_urlname(cls.course.id, "robot-some-other_problem-urlname")
     cls.problem_urlname = unicode(cls.problem_location)
     cls.other_problem_urlname = unicode(cls.other_problem_location)
Ejemplo n.º 2
0
 def setUpClass(cls):
     super(InstructorServiceTests, cls).setUpClass()
     cls.course = CourseFactory.create()
     cls.problem_location = msk_from_problem_urlname(
         cls.course.id, 'robot-some-problem-urlname')
     cls.other_problem_location = msk_from_problem_urlname(
         cls.course.id, 'robot-some-other_problem-urlname')
     cls.problem_urlname = six.text_type(cls.problem_location)
     cls.other_problem_urlname = six.text_type(cls.other_problem_location)
Ejemplo n.º 3
0
 def setUpClass(cls):
     super(InstructorServiceTests, cls).setUpClass()
     cls.email = '*****@*****.**'
     cls.course = CourseFactory.create(
         proctoring_escalation_email=cls.email)
     cls.problem_location = msk_from_problem_urlname(
         cls.course.id, 'robot-some-problem-urlname')
     cls.other_problem_location = msk_from_problem_urlname(
         cls.course.id, 'robot-some-other_problem-urlname')
     cls.problem_urlname = six.text_type(cls.problem_location)
     cls.other_problem_urlname = six.text_type(cls.other_problem_location)
 def setUpClass(cls):
     super().setUpClass()
     cls.email = '*****@*****.**'
     cls.course = CourseFactory.create(proctoring_escalation_email=cls.email)
     cls.problem_location = msk_from_problem_urlname(
         cls.course.id,
         'robot-some-problem-urlname'
     )
     cls.other_problem_location = msk_from_problem_urlname(
         cls.course.id,
         'robot-some-other_problem-urlname'
     )
     cls.problem_urlname = str(cls.problem_location)
     cls.other_problem_urlname = str(cls.other_problem_location)
     cls.complete_error_prefix = ('Error occurred while attempting to complete student attempt for '
                                  'user {user} for content_id {content_id}. ')