Changeset 14181 for main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/tests/test_document.py
- Timestamp:
- 23 Sep 2016, 05:54:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/tests/test_document.py
r14178 r14181 24 24 25 25 from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase) 26 from ikobacustom.uniben.documents.document import SkeletonDocument27 from ikobacustom.uniben.documents.interfaces import I SkeletonDocument26 from ikobacustom.uniben.documents.document import UnibenDocument 27 from ikobacustom.uniben.documents.interfaces import IUnibenDocument 28 28 29 class SkeletonDocumentTestCase(FunctionalTestCase):29 class UnibenDocumentTestCase(FunctionalTestCase): 30 30 31 31 layer = FunctionalLayer … … 35 35 self.assertTrue( 36 36 verifyClass( 37 I SkeletonDocument, SkeletonDocument)37 IUnibenDocument, UnibenDocument) 38 38 ) 39 39 self.assertTrue( 40 40 verifyObject( 41 I SkeletonDocument, SkeletonDocument())41 IUnibenDocument, UnibenDocument()) 42 42 ) 43 43 return 44 44 45 def test_add SkeletonDocument(self):45 def test_addUnibenDocument(self): 46 46 container = DocumentsContainer() 47 document = createObject(u'waeup. SkeletonDocument')47 document = createObject(u'waeup.UnibenDocument') 48 48 document.document_id = u'DOC1' 49 49 container.addDocument(document)
Note: See TracChangeset for help on using the changeset viewer.