Ignore:
Timestamp:
26 Dec 2014, 20:18:17 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename ProductOptionEntry? ProductOption?.

File:
1 edited

Legend:

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

    r12309 r12327  
    3838    SimpleIkobaVocabulary, IFieldConverter,
    3939    DELETION_MARKER, IGNORE_MARKER)
    40 from waeup.ikoba.products.productoptions import ProductOptionEntryField
     40from waeup.ikoba.products.productoptions import ProductOptionField
    4141from waeup.ikoba.utils.converters import (
    4242    IObjectConverter, IFieldConverter, DefaultFieldConverter,
    43     ListFieldConverter, PhoneNumberFieldConverter, ProductOptionEntryConverter,
     43    ListFieldConverter, PhoneNumberFieldConverter, ProductOptionConverter,
    4444    DefaultObjectConverter)
    4545from waeup.ikoba.utils.helpers import attrs_to_fields
     
    9494    options = schema.List(
    9595        title = u'Options',
    96         value_type = ProductOptionEntryField(),
     96        value_type = ProductOptionField(),
    9797        required = True,
    9898        default = [],
     
    137137        obj2 = ListFieldConverter(None)
    138138        obj3 = PhoneNumberFieldConverter(None)
    139         obj4 = ProductOptionEntryConverter(None)
     139        obj4 = ProductOptionConverter(None)
    140140        verify.verifyObject(IFieldConverter, obj1)
    141141        verify.verifyObject(IFieldConverter, obj2)
     
    145145        verify.verifyClass(IFieldConverter, ListFieldConverter)
    146146        verify.verifyClass(IFieldConverter, PhoneNumberFieldConverter)
    147         verify.verifyClass(IFieldConverter, ProductOptionEntryConverter)
     147        verify.verifyClass(IFieldConverter, ProductOptionConverter)
    148148        return
    149149
Note: See TracChangeset for help on using the changeset viewer.