- Timestamp:
- 14 Feb 2015, 08:55:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_contract.py
r12611 r12615 37 37 RPPMVLContract, 38 38 APPITContract, 39 RPTContract, 39 40 ) 40 41 from ikobacustom.pcn.customers.interfaces import ( … … 46 47 IRPPMVLContract, 47 48 IAPPITContract, 49 IRPTContract, 48 50 ) 49 51 … … 68 70 verify.verifyObject(IAPPITContract, APPITContract()) 69 71 verify.verifyObject(ICustomerNavigation, APPITContract()) 72 verify.verifyObject(IRPTContract, RPTContract()) 73 verify.verifyObject(ICustomerNavigation, RPTContract()) 70 74 return 71 75 … … 114 118 self.assertEqual(container[id7], contract7) 115 119 self.assertEqual(contract7.class_name, 'APPITContract') 120 121 contract8= createObject(u'waeup.RPTContract') 122 id8 = contract8.contract_id 123 container.addContract(contract8) 124 self.assertEqual(container[id8], contract8) 125 self.assertEqual(contract8.class_name, 'RPTContract') 116 126 return
Note: See TracChangeset for help on using the changeset viewer.