

def test_a_group_can_have_label_and_description(self):
    definition = self.definition.copy()
    definition['label'] = 'Address'
    definition['description'] = 'A small text...'
    field = self.schema.deserialize(definition)
    self.assertDictEqual(definition, field)

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