Ignore:
Timestamp:
3 Jan 2015, 07:38:07 (10 years ago)
Author:
Henrik Bettermann
Message:

Replace 'skeleton' by 'pcn'.

Location:
main/ikobacustom.pcn/trunk
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.pcn/trunk

    • Property svn:global-ignores set to
      bin
      develop-eggs
      parts
      sources
      var
  • main/ikobacustom.pcn/trunk/src

    • Property svn:global-ignores set to
      ikobacustom.pcn.egg-info
  • main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/documents/tests/test_browser.py

    r12290 r12371  
    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.pcn.documents.document import PCNDocument
     30from ikobacustom.pcn.documents.export import PCNDocumentExporter
     31from ikobacustom.pcn.documents.batching import PCNDocumentProcessor
     32from ikobacustom.pcn.testing import FunctionalLayer
    3333
    3434
     
    3838
    3939    def setup_for_export(self):
    40         document = SkeletonDocument()
     40        document = PCNDocument()
    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 = PCNDocumentExporter()
    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            'PCNDocument,,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 = PCNDocumentProcessor()
    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 = PCNDocumentProcessor()
    8282        result = processor.doImport(
    8383            self.outfile,
Note: See TracChangeset for help on using the changeset viewer.