Пример #1
0
 def setUp(self):
     from quizzo.utils.test_case_utils import create_student
     self.student_obj = create_student("test1")
Пример #2
0
 def setUp(self):
     from quizzo.utils.test_case_utils import create_student, create_quiz, create_studentquiz
     self.student_obj = create_student("testuser_02")
     self.quiz = create_quiz("title")
Пример #3
0
 def setUp(self):
     from quizzo.utils.test_case_utils import create_quiz, create_student, create_questions
     self.quiz_obj = create_quiz("quiz1")
     self.student_obj = create_student("test1")
     questions = create_questions()
     self.quiz_obj.questions.add(questions)
Пример #4
0
 def setUp(self):
     from quizzo.utils.test_case_utils import create_student, create_quiz, create_studentquiz
     self.student_obj = create_student("test_user")
     self.quiz_obj = create_quiz("quiz1")
     self.studentquiz_obj = create_studentquiz(self.student_obj,
                                               self.quiz_obj)