Ignore:
Timestamp:
2 Jul 2016, 17:36:10 (8 years ago)
Author:
Henrik Bettermann
Message:

We don't use a ContactFactory? which returns Faculty instances. Or do we?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py

    r14006 r14007  
    3838    DELETION_MARKER, IGNORE_MARKER)
    3939from waeup.kofa.schoolgrades import ResultEntryField
    40 from waeup.kofa.university import Faculty
    4140from waeup.kofa.utils.converters import (
    4241    IObjectConverter, DefaultFieldConverter, ListFieldConverter,
     
    128127form_fields_select = form.Fields(IContact).select('name', 'vip')
    129128form_fields_omit = form.Fields(IContact).omit('name', 'vip')
    130 
    131 
    132 class ContactFactory(object):
    133     """A factory for faculty containers.
    134     """
    135     implements(IContact)
    136 
    137     def __call__(self, *args, **kw):
    138         return Faculty()
    139 
    140     def getInterfaces(self):
    141         return implementedBy(Faculty)
    142129
    143130
Note: See TracChangeset for help on using the changeset viewer.