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:
1 edited
1 moved

Legend:

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

    r12290 r14310  
    2727from zope.interface.verify import verifyObject, verifyClass
    2828from waeup.ikoba.documents.tests.test_batching import DocumentImportExportSetup
    29 from ikobacustom.skeleton.documents.document import SkeletonDocument
    30 from ikobacustom.skeleton.documents.export import SkeletonDocumentExporter
    31 from ikobacustom.skeleton.documents.batching import SkeletonDocumentProcessor
    32 from ikobacustom.skeleton.testing import FunctionalLayer
     29from ikobacustom.aaue.documents.document import AAUEDocument
     30from ikobacustom.aaue.documents.export import AAUEDocumentExporter
     31from ikobacustom.aaue.documents.batching import AAUEDocumentProcessor
     32from ikobacustom.aaue.testing import FunctionalLayer
    3333
    3434
     
    3838
    3939    def setup_for_export(self):
    40         document = SkeletonDocument()
     40        document = AAUEDocument()
    4141        document.document_id = u'DOC1'
    4242        document.title = u'My first document'
     
    4949        # set values we can expect in export file
    5050        self.setup_for_export()
    51         exporter = SkeletonDocumentExporter()
     51        exporter = AAUEDocumentExporter()
    5252        exporter.export_all(self.app, self.outfile)
    5353        result = open(self.outfile, 'rb').read()
     
    5555            'class_name,description,document_id,history,state,title,'
    5656            'users_with_local_roles\r\n'
    57             'SkeletonDocument,,DOC1,'
     57            'AAUEDocument,,DOC1,'
    5858            '[u\'2014-12-21 23:27:15 WAT - Document created by system\'],'
    5959            'created,My first document,[]\r\n')
    6060        # We can import the same file.
    61         processor = SkeletonDocumentProcessor()
     61        processor = AAUEDocumentProcessor()
    6262        result = processor.doImport(
    6363            self.outfile,
     
    7979        self.assertEqual(num_fail,0)
    8080        # We can import the same file in update mode.
    81         processor = SkeletonDocumentProcessor()
     81        processor = AAUEDocumentProcessor()
    8282        result = processor.doImport(
    8383            self.outfile,
Note: See TracChangeset for help on using the changeset viewer.