Ignore:
Timestamp:
11 Feb 2015, 21:38:41 (10 years ago)
Author:
Henrik Bettermann
Message:

Add 'Issuance of Patent and Proprietary Medicines Vendors License' contract.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_contract.py

    r12591 r12601  
    3434    RPRContract,
    3535    RPCContract,
     36    IPPMVLContract,
    3637    )
    3738from ikobacustom.pcn.customers.interfaces import (
     
    4041    IRPRContract,
    4142    IRPCContract,
     43    IIPPMVLContract,
    4244    )
    4345
     
    5860        verify.verifyObject(IRPCContract, RPCContract())
    5961        verify.verifyObject(ICustomerNavigation, RPCContract())
     62        verify.verifyObject(IIPPMVLContract, IPPMVLContract())
     63        verify.verifyObject(ICustomerNavigation, IPPMVLContract())
    6064        return
    6165
     
    8690        self.assertEqual(container[id4], contract4)
    8791        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')
    8898        return
Note: See TracChangeset for help on using the changeset viewer.