

def test_a_group_must_have_valid_fields_parameters(self):
    definition = definition.definition.copy()
    definition['fields'][0]['type'] = 'regex'
    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_parameters/VarMisuse@12/20 `self`->`definition`