Ejemplo n.º 1
0
 def test_subtitle_teacher_letter(self):
     query = QueryDict("worksheet_version=teacher&paper_size=letter")
     generator = BinaryToAlphabetResourceGenerator(query)
     self.assertEqual(
         generator.subtitle,
         "teacher - letter"
     )
Ejemplo n.º 2
0
 def test_subtitle_student_a4(self):
     query = QueryDict("worksheet_version=student&paper_size=a4")
     generator = BinaryToAlphabetResourceGenerator(query)
     self.assertEqual(
         generator.subtitle,
         "student - a4"
     )
 def test_with_alphabet_description(self, get_alphabet_description):
     query = QueryDict("worksheet_version=student&paper_size=a4")
     generator = BinaryToAlphabetResourceGenerator(query)
     generator.data()
 def test_uneven_columns(self, get_alphabet):
     query = QueryDict("worksheet_version=student&paper_size=a4")
     generator = BinaryToAlphabetResourceGenerator(query)
     generator.data()
 def test_subtitle_teacher_a4(self):
     query = QueryDict("worksheet_version=teacher&paper_size=a4")
     generator = BinaryToAlphabetResourceGenerator(query)
     self.assertEqual(generator.subtitle, "Teacher (solutions) - a4")
 def test_worksheet_version_values(self):
     generator = BinaryToAlphabetResourceGenerator(self.base_valid_query)
     self.run_parameter_smoke_tests(generator, "worksheet_version")