Ignore:
Timestamp:
14 Feb 2015, 17:22:51 (10 years ago)
Author:
Henrik Bettermann
Message:

Add Annual Permit for Pharmacy Technician contract.

File:
1 edited

Legend:

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

    r12615 r12617  
    3838    APPITContract,
    3939    RPTContract,
     40    APPTContract,
    4041    )
    4142from ikobacustom.pcn.customers.interfaces import (
     
    4849    IAPPITContract,
    4950    IRPTContract,
     51    IAPPTContract,
    5052    )
    5153
     
    124126        self.assertEqual(container[id8], contract8)
    125127        self.assertEqual(contract8.class_name, 'RPTContract')
     128
     129        contract9= createObject(u'waeup.APPTContract')
     130        id9 = contract9.contract_id
     131        container.addContract(contract9)
     132        self.assertEqual(container[id9], contract9)
     133        self.assertEqual(contract9.class_name, 'APPTContract')
    126134        return
Note: See TracChangeset for help on using the changeset viewer.