Ignore:
Timestamp:
13 Feb 2015, 10:15:44 (10 years ago)
Author:
Henrik Bettermann
Message:

Add Accepting Pupil Pharmacist for Internship Training contract.

File:
1 edited

Legend:

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

    r12604 r12611  
    3636    IPPMVLContract,
    3737    RPPMVLContract,
     38    APPITContract,
    3839    )
    3940from ikobacustom.pcn.customers.interfaces import (
     
    4445    IIPPMVLContract,
    4546    IRPPMVLContract,
     47    IAPPITContract,
    4648    )
    4749
     
    6466        verify.verifyObject(IIPPMVLContract, IPPMVLContract())
    6567        verify.verifyObject(ICustomerNavigation, IPPMVLContract())
     68        verify.verifyObject(IAPPITContract, APPITContract())
     69        verify.verifyObject(ICustomerNavigation, APPITContract())
    6670        return
    6771
     
    104108        self.assertEqual(container[id6], contract6)
    105109        self.assertEqual(contract6.class_name, 'RPPMVLContract')
     110
     111        contract7= createObject(u'waeup.APPITContract')
     112        id7 = contract7.contract_id
     113        container.addContract(contract7)
     114        self.assertEqual(container[id7], contract7)
     115        self.assertEqual(contract7.class_name, 'APPITContract')
    106116        return
Note: See TracChangeset for help on using the changeset viewer.