

def test_a_group_must_have_valid_fields(self):
    definition = self.definition.copy()
    definition['fields'].append({
        'type': 'int',
    })
    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_valid_fields/original