Ignore:
Timestamp:
5 Dec 2016, 09:14:32 (8 years ago)
Author:
Henrik Bettermann
Message:

Renaming and port setting.

Location:
main/ikobacustom.aaue/trunk/src/ikobacustom/aaue
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.aaue/trunk/src/ikobacustom/aaue/products/tests/test_browser.py

    r12685 r14310  
    2727from zope.interface.verify import verifyObject, verifyClass
    2828from waeup.ikoba.products.tests.test_batching import ProductImportExportSetup
    29 from ikobacustom.skeleton.products.product import SkeletonProduct
    30 from ikobacustom.skeleton.products.export import SkeletonProductExporter
    31 from ikobacustom.skeleton.products.batching import SkeletonProductProcessor
    32 from ikobacustom.skeleton.testing import FunctionalLayer
     29from ikobacustom.aaue.products.product import AAUEProduct
     30from ikobacustom.aaue.products.export import AAUEProductExporter
     31from ikobacustom.aaue.products.batching import AAUEProductProcessor
     32from ikobacustom.aaue.testing import FunctionalLayer
    3333
    3434
     
    3838
    3939    def setup_for_export(self):
    40         product = SkeletonProduct()
     40        product = AAUEProduct()
    4141        product.product_id = u'SAM'
    4242        product.contract_category = u'sample'
     
    5050        # set values we can expect in export file
    5151        self.setup_for_export()
    52         exporter = SkeletonProductExporter()
     52        exporter = AAUEProductExporter()
    5353        exporter.export_all(self.app, self.outfile)
    5454        result = open(self.outfile, 'rb').read()
     
    5959            'sample,,,[],SAM,,Unnamed,2015-12-04#,,[]\r\n')
    6060        # We can import the same file.
    61         processor = SkeletonProductProcessor()
     61        processor = AAUEProductProcessor()
    6262        result = processor.doImport(
    6363            self.outfile,
     
    8181        self.assertEqual(num_fail,0)
    8282        # We can import the same file in update mode.
    83         processor = SkeletonProductProcessor()
     83        processor = AAUEProductProcessor()
    8484        result = processor.doImport(
    8585            self.outfile,
  • main/ikobacustom.aaue/trunk/src/ikobacustom/aaue/products/tests/test_product.py

    r12177 r14310  
    1717##
    1818"""
    19 Tests for skeleton products.
     19Tests for aaue products.
    2020"""
    2121from zope.interface.verify import verifyClass, verifyObject
     
    2424from waeup.ikoba.products.container import ProductsContainer
    2525
    26 from ikobacustom.skeleton.testing import (FunctionalLayer, FunctionalTestCase)
    27 from ikobacustom.skeleton.products.product import SkeletonProduct
    28 from ikobacustom.skeleton.products.interfaces import ISkeletonProduct
     26from ikobacustom.aaue.testing import (FunctionalLayer, FunctionalTestCase)
     27from ikobacustom.aaue.products.product import AAUEProduct
     28from ikobacustom.aaue.products.interfaces import IAAUEProduct
    2929
    30 class SkeletonProductTestCase(FunctionalTestCase):
     30class AAUEProductTestCase(FunctionalTestCase):
    3131
    3232    layer = FunctionalLayer
     
    3636        self.assertTrue(
    3737            verifyClass(
    38                 ISkeletonProduct, SkeletonProduct)
     38                IAAUEProduct, AAUEProduct)
    3939            )
    4040        self.assertTrue(
    4141            verifyObject(
    42                 ISkeletonProduct, SkeletonProduct())
     42                IAAUEProduct, AAUEProduct())
    4343            )
    4444        return
    4545
    46     def test_addSkeletonProduct(self):
     46    def test_addAAUEProduct(self):
    4747        container = ProductsContainer()
    4848        product = createObject(u'waeup.Product')
Note: See TracChangeset for help on using the changeset viewer.