

def test_a_group_must_have_at_least_one_field(self):
    definition = self.definition.copy()
    definition['fields'] = []
    self.assertRaises(colander.Invalid, self.schema.deserialize, definition)

dataset/ETHPy150Open spiral-project/daybed/daybed/tests/test_schemas_base.py GroupFieldTests.test_a_group_must_have_at_least_one_field/original