Ignore:
Timestamp:
14 Feb 2015, 08:55:35 (10 years ago)
Author:
Henrik Bettermann
Message:

Add Registration as a Pharmacy Technician contract.

File:
1 edited

Legend:

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

    r12611 r12615  
    3737    RPPMVLContract,
    3838    APPITContract,
     39    RPTContract,
    3940    )
    4041from ikobacustom.pcn.customers.interfaces import (
     
    4647    IRPPMVLContract,
    4748    IAPPITContract,
     49    IRPTContract,
    4850    )
    4951
     
    6870        verify.verifyObject(IAPPITContract, APPITContract())
    6971        verify.verifyObject(ICustomerNavigation, APPITContract())
     72        verify.verifyObject(IRPTContract, RPTContract())
     73        verify.verifyObject(ICustomerNavigation, RPTContract())
    7074        return
    7175
     
    114118        self.assertEqual(container[id7], contract7)
    115119        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')
    116126        return
Note: See TracChangeset for help on using the changeset viewer.