Changeset 14007 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 2 Jul 2016, 17:36:10 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py
r14006 r14007 38 38 DELETION_MARKER, IGNORE_MARKER) 39 39 from waeup.kofa.schoolgrades import ResultEntryField 40 from waeup.kofa.university import Faculty41 40 from waeup.kofa.utils.converters import ( 42 41 IObjectConverter, DefaultFieldConverter, ListFieldConverter, … … 128 127 form_fields_select = form.Fields(IContact).select('name', 'vip') 129 128 form_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)142 129 143 130
Note: See TracChangeset for help on using the changeset viewer.