Ejemplo n.º 1
0
 def test_uniqueness_of_section_names(self):
     # Looking at the xls file, I think this test might be broken.
     survey = utils.build_survey('group_names_must_be_unique.xls')
     self.assertRaises(
         Exception,
         survey.to_xml
     )
Ejemplo n.º 2
0
 def test_uniqueness_of_section_names(self):
     # Looking at the xls file, I think this test might be broken.
     survey = utils.build_survey("group_names_must_be_unique.xls")
     self.assertRaises(Exception, survey.to_xml)
Ejemplo n.º 3
0
 def test_unknown_question_type(self):
     survey = utils.build_survey('unknown_question_type.xls')
     self.assertRaises(
         PyXFormError,
         survey.to_xml
     )
Ejemplo n.º 4
0
 def test_unknown_question_type(self):
     survey = utils.build_survey("unknown_question_type.xls")
     self.assertRaises(PyXFormError, survey.to_xml)