- Timestamp:
- 11 Feb 2015, 21:38:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_contract.py
r12591 r12601 34 34 RPRContract, 35 35 RPCContract, 36 IPPMVLContract, 36 37 ) 37 38 from ikobacustom.pcn.customers.interfaces import ( … … 40 41 IRPRContract, 41 42 IRPCContract, 43 IIPPMVLContract, 42 44 ) 43 45 … … 58 60 verify.verifyObject(IRPCContract, RPCContract()) 59 61 verify.verifyObject(ICustomerNavigation, RPCContract()) 62 verify.verifyObject(IIPPMVLContract, IPPMVLContract()) 63 verify.verifyObject(ICustomerNavigation, IPPMVLContract()) 60 64 return 61 65 … … 86 90 self.assertEqual(container[id4], contract4) 87 91 self.assertEqual(contract4.class_name, 'RPCContract') 92 93 contract5 = createObject(u'waeup.IPPMVLContract') 94 id5 = contract5.contract_id 95 container.addContract(contract5) 96 self.assertEqual(container[id5], contract5) 97 self.assertEqual(contract5.class_name, 'IPPMVLContract') 88 98 return
Note: See TracChangeset for help on using the changeset viewer.