Ignore:
Timestamp:
13 Oct 2019, 19:15:33 (5 years ago)
Author:
Henrik Bettermann
Message:

Implement combi payments (tests will follow).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py

    r15502 r15664  
    288288        cdate = str('%s#' % self.applicant['p120'].creation_date)
    289289        self.assertEqual(
    290             'ac,amount_auth,creation_date,p_category,p_id,'
     290            'ac,amount_auth,creation_date,p_category,p_combi,p_id,'
    291291            'p_item,p_session,p_state,payment_date,r_amount_approved,'
    292292            'r_code,r_desc,applicant_id,reg_number,display_fullname\r\n'
    293             ',0.0,%s,application,p120,,2012,paid,,0.0,,,dp2011_654321,'
     293            ',0.0,%s,application,[],p120,,2012,paid,,0.0,,,dp2011_654321,'
    294294            '123456,Anna M. Tester\r\n' % cdate, result)
    295295        return
     
    302302        cdate = str('%s#' % self.applicant['p120'].creation_date)
    303303        self.assertEqual(
    304             'ac,amount_auth,creation_date,p_category,p_id,'
     304            'ac,amount_auth,creation_date,p_category,p_combi,p_id,'
    305305            'p_item,p_session,p_state,payment_date,r_amount_approved,'
    306306            'r_code,r_desc,applicant_id,reg_number,display_fullname\r\n'
    307             ',0.0,%s,application,p120,,2012,paid,,0.0,,,dp2011_654321,'
     307            ',0.0,%s,application,[],p120,,2012,paid,,0.0,,,dp2011_654321,'
    308308            '123456,Anna M. Tester\r\n' % cdate, result)
    309309        return
     
    317317        cdate = str('%s#' % self.applicant['p120'].creation_date)
    318318        self.assertEqual(
    319             'ac,amount_auth,creation_date,p_category,p_id,'
     319            'ac,amount_auth,creation_date,p_category,p_combi,p_id,'
    320320            'p_item,p_session,p_state,payment_date,r_amount_approved,'
    321321            'r_code,r_desc,applicant_id,reg_number,display_fullname\r\n'
    322             ',0.0,%s,application,p120,,2012,paid,,0.0,,,dp2011_654321,'
     322            ',0.0,%s,application,[],p120,,2012,paid,,0.0,,,dp2011_654321,'
    323323            '123456,Anna M. Tester\r\n' % cdate, result)
    324324        return
Note: See TracChangeset for help on using the changeset viewer.