Ignore:
Timestamp:
23 Sep 2016, 05:54:20 (8 years ago)
Author:
Henrik Bettermann
Message:

Renaming 2

Location:
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/batching.py

    r14178 r14181  
    2323    CustomerDocumentProcessorBase, ContractProcessorBase)
    2424from ikobacustom.uniben.customers.interfaces import (
    25     ISkeletonCustomer,
    26     ISkeletonCustomerDocument, ISkeletonContract)
     25    IUnibenCustomer,
     26    IUnibenCustomerDocument, IUnibenContract)
    2727from ikobacustom.uniben.interfaces import MessageFactory as _
    2828
    2929
    30 class SkeletonCustomerProcessor(CustomerProcessor):
     30class UnibenCustomerProcessor(CustomerProcessor):
    3131    """A batch processor for ICustomer objects.
    3232    """
    3333    util_name = 'unibencustomerprocessor'
    3434    grok.name(util_name)
    35     name = _('Skeleton Customer Processor')
    36     iface = ISkeletonCustomer
     35    name = _('Uniben Customer Processor')
     36    iface = IUnibenCustomer
    3737
    3838
    39 class SkeletonCustomerDocumentProcessor(CustomerDocumentProcessorBase):
    40     """A batch processor for ISkeletonCustomerDocument objects.
     39class UnibenCustomerDocumentProcessor(CustomerDocumentProcessorBase):
     40    """A batch processor for IUnibenCustomerDocument objects.
    4141    """
    4242    util_name = 'unibencustomerdocumentprocessor'
    4343    grok.name(util_name)
    44     name = _('Skeleton Customer Document Processor')
    45     iface = ISkeletonCustomerDocument
    46     factory_name = 'waeup.SkeletonCustomerDocument'
     44    name = _('Uniben Customer Document Processor')
     45    iface = IUnibenCustomerDocument
     46    factory_name = 'waeup.UnibenCustomerDocument'
    4747
    4848
    49 class SkeletonContractProcessor(ContractProcessorBase):
    50     """A batch processor for ISkeletonContract objects.
     49class UnibenContractProcessor(ContractProcessorBase):
     50    """A batch processor for IUnibenContract objects.
    5151    """
    5252    util_name = 'unibencontractprocessor'
    5353    grok.name(util_name)
    54     name = _('Skeleton Customer Contract Processor')
    55     iface = ISkeletonContract
    56     factory_name = 'waeup.SkeletonContract'
     54    name = _('Uniben Customer Contract Processor')
     55    iface = IUnibenContract
     56    factory_name = 'waeup.UnibenContract'
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/contracts.py

    r14178 r14181  
    2828from ikobacustom.uniben.interfaces import MessageFactory as _
    2929from ikobacustom.uniben.customers.interfaces import (
    30     ISkeletonContract, ISkeletonContractEdit, ISkeletonContractProcess,
    31     ISkeletonContractOfficialUse)
     30    IUnibenContract, IUnibenContractEdit, IUnibenContractProcess,
     31    IUnibenContractOfficialUse)
    3232
    3333
    34 class SkeletonContract(ContractBase):
     34class UnibenContract(ContractBase):
    3535    """This is a sample contract.
    3636    """
    3737
    3838    grok.implements(
    39         ISkeletonContractProcess,
    40         ISkeletonContract,
    41         ISkeletonContractEdit,
     39        IUnibenContractProcess,
     40        IUnibenContract,
     41        IUnibenContractEdit,
    4242        ICustomerNavigation)
    4343
    4444    contract_category = 'sample'
    4545
    46     form_fields_interface = ISkeletonContract
     46    form_fields_interface = IUnibenContract
    4747
    48     edit_form_fields_interface = ISkeletonContractEdit
     48    edit_form_fields_interface = IUnibenContractEdit
    4949
    50     ou_form_fields_interface = ISkeletonContractOfficialUse
     50    ou_form_fields_interface = IUnibenContractOfficialUse
    5151
    52     check_docs_interface = ISkeletonContract
     52    check_docs_interface = IUnibenContract
    5353
    54 SkeletonContract = attrs_to_fields(SkeletonContract)
     54UnibenContract = attrs_to_fields(UnibenContract)
    5555
    5656
    5757# Contracts must be importable. So we might need a factory.
    58 class SkeletonContractFactory(grok.GlobalUtility):
     58class UnibenContractFactory(grok.GlobalUtility):
    5959    """A factory for contracts.
    6060    """
    6161    grok.implements(IFactory)
    62     grok.name(u'waeup.SkeletonContract')
     62    grok.name(u'waeup.UnibenContract')
    6363    title = u"Create a new contract.",
    6464    description = u"This factory instantiates new sample contract instances."
    6565
    6666    def __call__(self, *args, **kw):
    67         return SkeletonContract(*args, **kw)
     67        return UnibenContract(*args, **kw)
    6868
    6969    def getInterfaces(self):
    70         return implementedBy(SkeletonContract)
     70        return implementedBy(UnibenContract)
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/customer.py

    r14178 r14181  
    2525from waeup.ikoba.customers.customer import Customer
    2626from waeup.ikoba.customers.interfaces import ICustomerNavigation
    27 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomer
     27from ikobacustom.uniben.customers.interfaces import IUnibenCustomer
    2828from ikobacustom.uniben.interfaces import MessageFactory as _
    2929
    3030
    31 class SkeletonCustomer(Customer):
     31class UnibenCustomer(Customer):
    3232    """This is a customer container for the various objects
    3333    owned by customers.
    3434    """
    35     grok.implements(ISkeletonCustomer, ICustomerNavigation)
    36     grok.provides(ISkeletonCustomer)
     35    grok.implements(IUnibenCustomer, ICustomerNavigation)
     36    grok.provides(IUnibenCustomer)
    3737
    38     form_fields_interface = ISkeletonCustomer
     38    form_fields_interface = IUnibenCustomer
    3939
    40 SkeletonCustomer = attrs_to_fields(SkeletonCustomer)
     40UnibenCustomer = attrs_to_fields(UnibenCustomer)
    4141
    4242
    43 class SkeletonCustomerFactory(grok.GlobalUtility):
     43class UnibenCustomerFactory(grok.GlobalUtility):
    4444    """A factory for customers.
    4545    """
     
    5050
    5151    def __call__(self, *args, **kw):
    52         return SkeletonCustomer()
     52        return UnibenCustomer()
    5353
    5454    def getInterfaces(self):
    55         return implementedBy(SkeletonCustomer)
     55        return implementedBy(UnibenCustomer)
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/documents.py

    r14178 r14181  
    2626from waeup.ikoba.customers.documents import CustomerDocumentBase
    2727from ikobacustom.uniben.interfaces import MessageFactory as _
    28 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomerDocument
     28from ikobacustom.uniben.customers.interfaces import IUnibenCustomerDocument
    2929
    3030
    31 class SkeletonCustomerDocument(CustomerDocumentBase):
     31class UnibenCustomerDocument(CustomerDocumentBase):
    3232    """This is a sample customer document.
    3333    """
    3434
    35     grok.implements(ISkeletonCustomerDocument, ICustomerNavigation)
    36     grok.provides(ISkeletonCustomerDocument)
     35    grok.implements(IUnibenCustomerDocument, ICustomerNavigation)
     36    grok.provides(IUnibenCustomerDocument)
    3737
    3838    # Ikoba can store any number of files per Document object.
     
    4242    filenames = ('sample',)
    4343
    44     form_fields_interface = ISkeletonCustomerDocument
     44    form_fields_interface = IUnibenCustomerDocument
    4545
    46 SkeletonCustomerDocument = attrs_to_fields(SkeletonCustomerDocument)
     46UnibenCustomerDocument = attrs_to_fields(UnibenCustomerDocument)
    4747
    4848
    4949# Customer documents must be importable. So we need a factory.
    50 class SkeletonCustomerDocumentFactory(grok.GlobalUtility):
     50class UnibenCustomerDocumentFactory(grok.GlobalUtility):
    5151    """A factory for customer documents.
    5252    """
    5353    grok.implements(IFactory)
    54     grok.name(u'waeup.SkeletonCustomerDocument')
     54    grok.name(u'waeup.UnibenCustomerDocument')
    5555    title = u"Create a new document.",
    5656    description = u"This factory instantiates new sample document instances."
    5757
    5858    def __call__(self, *args, **kw):
    59         return SkeletonCustomerDocument(*args, **kw)
     59        return UnibenCustomerDocument(*args, **kw)
    6060
    6161    def getInterfaces(self):
    62         return implementedBy(SkeletonCustomerDocument)
     62        return implementedBy(UnibenCustomerDocument)
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/export.py

    r14178 r14181  
    2222    CustomerExporter, CustomerDocumentExporterBase, ContractExporterBase)
    2323from ikobacustom.uniben.customers.interfaces import (
    24     ISkeletonCustomer, ISkeletonCustomerDocument, ISkeletonContractProcess)
     24    IUnibenCustomer, IUnibenCustomerDocument, IUnibenContractProcess)
    2525from ikobacustom.uniben.interfaces import MessageFactory as _
    2626
    27 class SkeletonCustomerExporter(CustomerExporter):
     27class UnibenCustomerExporter(CustomerExporter):
    2828    """Exporter for Customers.
    2929    """
    30     iface = ISkeletonCustomer
    31     title = _(u'Skeleton Customers')
     30    iface = IUnibenCustomer
     31    title = _(u'Uniben Customers')
    3232
    3333
    34 class SkeletonCustomerDocumentExporter(CustomerDocumentExporterBase):
     34class UnibenCustomerDocumentExporter(CustomerDocumentExporterBase):
    3535    """Exporter for documents.
    3636    """
    3737    grok.name('unibencustomerdocuments')
    38     iface = ISkeletonCustomerDocument
    39     title = _(u'Skeleton Customer Documents')
    40     class_name = 'SkeletonCustomerDocument'
     38    iface = IUnibenCustomerDocument
     39    title = _(u'Uniben Customer Documents')
     40    class_name = 'UnibenCustomerDocument'
    4141
    4242
    43 class SkeletonContractExporter(ContractExporterBase):
     43class UnibenContractExporter(ContractExporterBase):
    4444    """Exporter for Contract instances.
    4545    """
    4646    grok.name('unibencontracts')
    47     iface = ISkeletonContractProcess
    48     title = _(u'Skeleton Customer Contracts')
    49     class_name = 'SkeletonContract'
     47    iface = IUnibenContractProcess
     48    title = _(u'Uniben Customer Contracts')
     49    class_name = 'UnibenContract'
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/fileviewlets.py

    r14178 r14181  
    2323    FileDisplay, FileUpload, Image)
    2424
    25 from ikobacustom.uniben.customers.documents import SkeletonCustomerDocument
     25from ikobacustom.uniben.customers.documents import UnibenCustomerDocument
    2626
    2727from waeup.ikoba.customers.browser import (
     
    3939    """
    4040    grok.order(1)
    41     grok.context(SkeletonCustomerDocument)
     41    grok.context(UnibenCustomerDocument)
    4242    grok.view(DocumentManageFormPage)
    4343    grok.require('waeup.manageCustomer')
     
    6161    """
    6262    grok.order(1)
    63     grok.context(SkeletonCustomerDocument)
     63    grok.context(UnibenCustomerDocument)
    6464    grok.require('waeup.viewCustomer')
    6565    grok.view(DocumentDisplayFormPage)
     
    7474    """
    7575    grok.name('sample')
    76     grok.context(SkeletonCustomerDocument)
     76    grok.context(UnibenCustomerDocument)
    7777    grok.require('waeup.viewCustomer')
    7878    download_name = u'sample'
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/interfaces.py

    r14178 r14181  
    2727
    2828
    29 class ISkeletonCustomer(ICustomer):
     29class IUnibenCustomer(ICustomer):
    3030    """Representation of a customer.
    3131
     
    3535
    3636
    37 class ISkeletonCustomerDocument(ICustomerDocument):
     37class IUnibenCustomerDocument(ICustomerDocument):
    3838    """A customer document.
    3939
     
    4242# Customer contract interfaces
    4343
    44 class ISkeletonContract(IContract):
     44class IUnibenContract(IContract):
    4545    """A customer contract sample with document attached.
    4646
     
    5353        )
    5454
    55 class ISkeletonContractOfficialUse(IIkobaObject):
     55class IUnibenContractOfficialUse(IIkobaObject):
    5656    """Interface for editing official use data.
    5757
     
    6363        )
    6464
    65 class ISkeletonContractProcess(ISkeletonContract, ISkeletonContractOfficialUse):
     65class IUnibenContractProcess(IUnibenContract, IUnibenContractOfficialUse):
    6666    """Interface for processing contract data.
    6767    """
     
    7575        )
    7676
    77 class ISkeletonContractEdit(ISkeletonContract):
     77class IUnibenContractEdit(IUnibenContract):
    7878    """Interface for editing sample contract data by customers.
    7979
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_browser.py

    r14178 r14181  
    3131from waeup.ikoba.customers.tests.test_browser import CustomersFullSetup
    3232from ikobacustom.uniben.customers.export import (
    33     SkeletonCustomerExporter,
    34     SkeletonCustomerDocumentExporter,
    35     SkeletonContractExporter)
     33    UnibenCustomerExporter,
     34    UnibenCustomerDocumentExporter,
     35    UnibenContractExporter)
    3636from ikobacustom.uniben.customers.batching import (
    37     SkeletonCustomerProcessor,
    38     SkeletonCustomerDocumentProcessor,
    39     SkeletonContractProcessor)
     37    UnibenCustomerProcessor,
     38    UnibenCustomerDocumentProcessor,
     39    UnibenContractProcessor)
    4040from ikobacustom.uniben.testing import FunctionalLayer, samples_dir
    4141
     
    6161        IWorkflowState(customer).setState('started')
    6262        self.app['customers'].addCustomer(customer)
    63         document = createObject(u'waeup.SkeletonCustomerDocument')
     63        document = createObject(u'waeup.UnibenCustomerDocument')
    6464        document.title = u'My first document'
    6565        customer['documents'].addDocument(document)
    66         contract = createObject(u'waeup.SkeletonContract')
     66        contract = createObject(u'waeup.UnibenContract')
    6767        contract.tc_dict = {'en':u'Hello World'}
    6868        customer['contracts'].addContract(contract)
     
    7777        # set values we can expect in export file
    7878        self.setup_for_export()
    79         exporter = SkeletonCustomerExporter()
     79        exporter = UnibenCustomerExporter()
    8080        exporter.export_all(self.app, self.outfile)
    8181        result = open(self.outfile, 'rb').read()
     
    8585            'K1000000,aa@aa.aa,Beate,Mueller,,,123,f,0,,,started,[]\r\n')
    8686        # We can reimport the file ...
    87         processor = SkeletonCustomerProcessor()
     87        processor = UnibenCustomerProcessor()
    8888        result = processor.doImport(
    8989            self.outfile,
     
    118118        # set values we can expect in export file
    119119        self.setup_for_export()
    120         exporter = SkeletonCustomerDocumentExporter()
     120        exporter = UnibenCustomerDocumentExporter()
    121121        exporter.export_all(self.app, self.outfile)
    122122        result = open(self.outfile, 'rb').read()
    123123        self.assertMatches(result,
    124124            'class_name,document_id,history,state,title,user_id\r\n'
    125             'SkeletonCustomerDocument,%s,'
     125            'UnibenCustomerDocument,%s,'
    126126            '[u\'2014-12-21 17:00:36 WAT - Document created by system\'],'
    127127            'created,My first document,K1000000\r\n'
    128128            % self.document.document_id)
    129129        # We can reimport the file if we change the header (user_id -> customer_id)
    130         processor = SkeletonCustomerDocumentProcessor()
     130        processor = UnibenCustomerDocumentProcessor()
    131131        open(self.outfile, 'wb').write(
    132132            'customer_id,class_name,document_id,state,title\r\n'
    133             'K1000000,SkeletonCustomerDocument,%s,started,My first title\r\n'
     133            'K1000000,UnibenCustomerDocument,%s,started,My first title\r\n'
    134134            % self.document.document_id)
    135135        result = processor.doImport(
     
    162162        # set values we can expect in export file
    163163        self.setup_for_export()
    164         exporter = SkeletonContractExporter()
     164        exporter = UnibenContractExporter()
    165165        exporter.export_all(self.app, self.outfile)
    166166        result = open(self.outfile, 'rb').read()
     
    169169            'fee_based,history,last_product_id,product_object,product_options,'
    170170            'state,tc_dict,title,user_id,valid_from,valid_to\r\n'
    171             'SkeletonContract,,sample,%s,,0,'
     171            'UnibenContract,,sample,%s,,0,'
    172172            '[u\'2014-12-21 22:26:00 WAT - Contract created by system\']'
    173173            ',,,[],created,{\'en\': u\'Hello World\'},,K1000000,,\r\n'
    174174            % self.contract.contract_id)
    175175        # We can reimport the file if we change the header (user_id -> customer_id)
    176         processor = SkeletonContractProcessor()
     176        processor = UnibenContractProcessor()
    177177        open(self.outfile, 'wb').write(
    178178            'class_name,contract_category,contract_id,document_object,'
    179179            'history,last_product_id,product_object,product_options,'
    180180            'state,tc_dict,title,user_id\r\n'
    181             'SkeletonContract,sample,%s,,'
     181            'UnibenContract,sample,%s,,'
    182182            '[u\'2014-12-21 22:26:00 WAT - Contract created by system\']'
    183183            ',,,[],created,{\'en\': u\'Hello World\'},,K1000000\r\n'
     
    221221    def setup_customizable_params(self):
    222222        self._contract_category = u'sample'
    223         self._document_factory = 'waeup.SkeletonCustomerDocument'
    224         self._contract_factory = 'waeup.SkeletonContract'
     223        self._document_factory = 'waeup.UnibenCustomerDocument'
     224        self._contract_factory = 'waeup.UnibenContract'
    225225        return
    226226
     
    304304    def setup_customizable_params(self):
    305305        self._contract_category = u'sample'
    306         self._document_factory = 'waeup.SkeletonCustomerDocument'
    307         self._contract_factory = 'waeup.SkeletonContract'
     306        self._document_factory = 'waeup.UnibenCustomerDocument'
     307        self._contract_factory = 'waeup.UnibenContract'
    308308        return
    309309
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_contract.py

    r14178 r14181  
    2929
    3030from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
    31 from ikobacustom.uniben.customers.contracts import SkeletonContract
    32 from ikobacustom.uniben.customers.interfaces import ISkeletonContract
     31from ikobacustom.uniben.customers.contracts import UnibenContract
     32from ikobacustom.uniben.customers.interfaces import IUnibenContract
    3333
    3434
     
    3838
    3939    def test_interfaces(self):
    40         verify.verifyClass(ISkeletonContract, SkeletonContract)
    41         verify.verifyClass(ICustomerNavigation, SkeletonContract)
    42         verify.verifyObject(ISkeletonContract, SkeletonContract())
    43         verify.verifyObject(ICustomerNavigation, SkeletonContract())
     40        verify.verifyClass(IUnibenContract, UnibenContract)
     41        verify.verifyClass(ICustomerNavigation, UnibenContract)
     42        verify.verifyObject(IUnibenContract, UnibenContract())
     43        verify.verifyObject(ICustomerNavigation, UnibenContract())
    4444        return
    4545
    4646    def test_addContract(self):
    4747        container = ContractsContainer()
    48         contract = createObject(u'waeup.SkeletonContract')
     48        contract = createObject(u'waeup.UnibenContract')
    4949        id = contract.contract_id
    5050        container.addContract(contract)
    5151        self.assertEqual(container[id], contract)
    5252        self.assertRaises(TypeError, container.addContract, object())
    53         self.assertEqual(contract.class_name, 'SkeletonContract')
     53        self.assertEqual(contract.class_name, 'UnibenContract')
    5454        return
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_customer.py

    r14178 r14181  
    3131
    3232from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
    33 from ikobacustom.uniben.customers.customer import SkeletonCustomer
    34 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomer
     33from ikobacustom.uniben.customers.customer import UnibenCustomer
     34from ikobacustom.uniben.customers.interfaces import IUnibenCustomer
    3535
    36 class SkeletonCustomerTestCase(FunctionalTestCase):
     36class UnibenCustomerTestCase(FunctionalTestCase):
    3737
    3838    layer = FunctionalLayer
    3939
    4040    def setUp(self):
    41         super(SkeletonCustomerTestCase, self).setUp()
     41        super(UnibenCustomerTestCase, self).setUp()
    4242
    4343        # Prepopulate ZODB
     
    5252
    5353    def test_interfaces(self):
    54         verify.verifyClass(ISkeletonCustomer, SkeletonCustomer)
    55         verify.verifyClass(ICustomerNavigation, SkeletonCustomer)
    56         verify.verifyObject(ISkeletonCustomer, SkeletonCustomer())
    57         verify.verifyObject(ICustomerNavigation, SkeletonCustomer())
     54        verify.verifyClass(IUnibenCustomer, UnibenCustomer)
     55        verify.verifyClass(ICustomerNavigation, UnibenCustomer)
     56        verify.verifyObject(IUnibenCustomer, UnibenCustomer())
     57        verify.verifyObject(ICustomerNavigation, UnibenCustomer())
    5858        return
    5959
    60     def test_addSkeletonCustomer(self):
     60    def test_addUnibenCustomer(self):
    6161        customer = createObject(u'waeup.Customer')
    62         verify.verifyObject(ISkeletonCustomer, customer)
     62        verify.verifyObject(IUnibenCustomer, customer)
    6363        self.app['customers'].addCustomer(customer)
    6464        self.assertEqual(customer.customer_id, 'K1000000')
     
    6868    def tearDown(self):
    6969        shutil.rmtree(self.dc_root)
    70         super(SkeletonCustomerTestCase, self).tearDown()
     70        super(UnibenCustomerTestCase, self).tearDown()
    7171        return
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_document.py

    r14178 r14181  
    2929
    3030from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
    31 from ikobacustom.uniben.customers.documents import SkeletonCustomerDocument
    32 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomerDocument
     31from ikobacustom.uniben.customers.documents import UnibenCustomerDocument
     32from ikobacustom.uniben.customers.interfaces import IUnibenCustomerDocument
    3333
    3434
     
    3838
    3939    def test_interfaces(self):
    40         verify.verifyClass(ISkeletonCustomerDocument, SkeletonCustomerDocument)
    41         verify.verifyClass(ICustomerNavigation, SkeletonCustomerDocument)
    42         verify.verifyObject(ISkeletonCustomerDocument, SkeletonCustomerDocument())
    43         verify.verifyObject(ICustomerNavigation, SkeletonCustomerDocument())
     40        verify.verifyClass(IUnibenCustomerDocument, UnibenCustomerDocument)
     41        verify.verifyClass(ICustomerNavigation, UnibenCustomerDocument)
     42        verify.verifyObject(IUnibenCustomerDocument, UnibenCustomerDocument())
     43        verify.verifyObject(ICustomerNavigation, UnibenCustomerDocument())
    4444        return
    4545
    4646    def test_addDocument(self):
    4747        container = CustomerDocumentsContainer()
    48         document = createObject(u'waeup.SkeletonCustomerDocument')
     48        document = createObject(u'waeup.UnibenCustomerDocument')
    4949        id = document.document_id
    5050        container.addDocument(document)
    5151        self.assertEqual(container[id], document)
    5252        self.assertRaises(TypeError, container.addDocument, object())
    53         self.assertEqual(document.class_name, 'SkeletonCustomerDocument')
     53        self.assertEqual(document.class_name, 'UnibenCustomerDocument')
    5454        return
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/utils.py

    r14178 r14181  
    2727from ikobacustom.uniben.interfaces import MessageFactory as _
    2828
    29 class SkeletonCustomersUtils(CustomersUtils):
     29class UnibenCustomersUtils(CustomersUtils):
    3030    """A collection of methods subject to customization.
    3131    """
     
    4747        #'CustomerPDFDocument': _('PDF Document'),
    4848
    49         'SkeletonCustomerDocument': _('Skeleton Document'),
     49        'UnibenCustomerDocument': _('Uniben Document'),
    5050        }
    5151
     
    5353        #'SampleContract': _('Sample Contract'),
    5454
    55         'SkeletonContract': _('Skeleton Contract'),
     55        'UnibenContract': _('Uniben Contract'),
    5656        }
    5757
Note: See TracChangeset for help on using the changeset viewer.