'Make sure that if a SurveyForm is saved without any named fields
an exception is thrown'

def test_create_form_with_no_fields(self):

    with self.assertRaises(ValidationError):
        SurveyForm.create('badform', '<p>no    input    fields    here</p>')
    with self.assertRaises(ValidationError):
        SurveyForm.create('badform', '<input    id="input_without_name"    />')
