Changeset 14310 for main/ikobacustom.aaue/trunk/src/ikobacustom/aaue/documents/tests/test_document.py
- Timestamp:
- 5 Dec 2016, 09:14:32 (8 years ago)
- 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_document.py
r12292 r14310 17 17 ## 18 18 """ 19 Tests for skeletondocuments.19 Tests for aaue documents. 20 20 """ 21 21 from zope.interface.verify import verifyClass, verifyObject … … 23 23 from waeup.ikoba.documents.container import DocumentsContainer 24 24 25 from ikobacustom. skeleton.testing import (FunctionalLayer, FunctionalTestCase)26 from ikobacustom. skeleton.documents.document import SkeletonDocument27 from ikobacustom. skeleton.documents.interfaces import ISkeletonDocument25 from ikobacustom.aaue.testing import (FunctionalLayer, FunctionalTestCase) 26 from ikobacustom.aaue.documents.document import AAUEDocument 27 from ikobacustom.aaue.documents.interfaces import IAAUEDocument 28 28 29 class SkeletonDocumentTestCase(FunctionalTestCase):29 class AAUEDocumentTestCase(FunctionalTestCase): 30 30 31 31 layer = FunctionalLayer … … 35 35 self.assertTrue( 36 36 verifyClass( 37 I SkeletonDocument, SkeletonDocument)37 IAAUEDocument, AAUEDocument) 38 38 ) 39 39 self.assertTrue( 40 40 verifyObject( 41 I SkeletonDocument, SkeletonDocument())41 IAAUEDocument, AAUEDocument()) 42 42 ) 43 43 return 44 44 45 def test_add SkeletonDocument(self):45 def test_addAAUEDocument(self): 46 46 container = DocumentsContainer() 47 document = createObject(u'waeup. SkeletonDocument')47 document = createObject(u'waeup.AAUEDocument') 48 48 document.document_id = u'DOC1' 49 49 container.addDocument(document)
Note: See TracChangeset for help on using the changeset viewer.