@classmethod
    def field(cls, *args, **kw):
        fld = ChoiceListField(cls, *args, **kw)
        cls.setup_field(fld)
        cls._fields.append(fld)
        return fld
Generates tests source files.
dataset/ETHPy150Open lsaffre/lino/lino/core/choicelists.py/ChoiceList.field--crossover with--dataset/ETHPy150Open libyal/libyal/scripts/source-generate.py/TestsSourceFileGenerator.Generate