- Timestamp:
- 11 Feb 2015, 10:44:28 (10 years ago)
- Location:
- main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_browser.py
r12558 r12591 475 475 # First we add a submitted document and a product. 476 476 IWorkflowState(self.document).setState('submitted') 477 self.contract.title = u'Contract Title' 477 478 self.contract.document_object = self.document 478 479 self.contract.product_object = self.product -
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_contract.py
r12571 r12591 33 33 ROPContract, 34 34 RPRContract, 35 RPCContract, 35 36 ) 36 37 from ikobacustom.pcn.customers.interfaces import ( … … 38 39 IROPContract, 39 40 IRPRContract, 41 IRPCContract, 40 42 ) 41 43 … … 54 56 verify.verifyObject(IRPRContract, RPRContract()) 55 57 verify.verifyObject(ICustomerNavigation, RPRContract()) 58 verify.verifyObject(IRPCContract, RPCContract()) 59 verify.verifyObject(ICustomerNavigation, RPCContract()) 56 60 return 57 61 … … 76 80 self.assertEqual(container[id3], contract3) 77 81 self.assertEqual(contract3.class_name, 'RPRContract') 82 83 contract4 = createObject(u'waeup.RPCContract') 84 id4 = contract4.contract_id 85 container.addContract(contract4) 86 self.assertEqual(container[id4], contract4) 87 self.assertEqual(contract4.class_name, 'RPCContract') 78 88 return
Note: See TracChangeset for help on using the changeset viewer.