def test_invalid_choices_sheet_fails(self):
    self.assertPyxformXform(name='missing_name', ss_structure=self._simple_choice_ss([{'list_name': 'l1', 'label': 'choice 1'}, {'list_name': 'l1', 'label': 'choice 2'}]), errored=True, error__contains=['option with no name'])
def test_invalid_choices_sheet_fails(self):
    self.assertPyxformXform(name='missing_name', ss_structure=self._simple_choice_ss([{'list_name': 'l1', 'label': 'choice 1'}, {'list_name': 'l1', 'label': 'choice 2'}]), errored=True, error__contains=['option with no name'])