Ignore:
Timestamp:
17 Jun 2016, 13:02:01 (8 years ago)
Author:
Henrik Bettermann
Message:

Export also reg_number and display_fullname.

File:
1 edited

Legend:

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

    r13949 r13952  
    287287        cdate = str('%s#' % self.applicant['p120'].creation_date)
    288288        self.assertEqual(
    289             'ac,amount_auth,creation_date,p_category,p_id,p_item,p_session,'
    290             'p_state,payment_date,r_amount_approved,r_code,r_desc,'
    291             'applicant_id\r\n,'
    292             '0.0,%s,application,p120,,2012,'
    293             'paid,,0.0,,,dp2011_654321\r\n' % cdate, result)
     289            'ac,amount_auth,creation_date,p_category,p_id,'
     290            'p_item,p_session,p_state,payment_date,r_amount_approved,'
     291            'r_code,r_desc,applicant_id,reg_number,display_fullname\r\n'
     292            ',0.0,%s,application,p120,,2012,paid,,0.0,,,dp2011_654321,'
     293            '123456,Anna M. Tester\r\n' % cdate, result)
    294294        return
    295295
     
    301301        cdate = str('%s#' % self.applicant['p120'].creation_date)
    302302        self.assertEqual(
    303             'ac,amount_auth,creation_date,p_category,p_id,p_item,p_session,'
    304             'p_state,payment_date,r_amount_approved,r_code,r_desc,'
    305             'applicant_id\r\n,'
    306             '0.0,%s,application,p120,,2012,'
    307             'paid,,0.0,,,dp2011_654321\r\n' % cdate, result)
     303            'ac,amount_auth,creation_date,p_category,p_id,'
     304            'p_item,p_session,p_state,payment_date,r_amount_approved,'
     305            'r_code,r_desc,applicant_id,reg_number,display_fullname\r\n'
     306            ',0.0,%s,application,p120,,2012,paid,,0.0,,,dp2011_654321,'
     307            '123456,Anna M. Tester\r\n' % cdate, result)
    308308        return
    309309
     
    316316        cdate = str('%s#' % self.applicant['p120'].creation_date)
    317317        self.assertEqual(
    318             'ac,amount_auth,creation_date,p_category,p_id,p_item,p_session,'
    319             'p_state,payment_date,r_amount_approved,r_code,r_desc,'
    320             'applicant_id\r\n,'
    321             '0.0,%s,application,p120,,2012,'
    322             'paid,,0.0,,,dp2011_654321\r\n' % cdate, result)
    323         return
     318            'ac,amount_auth,creation_date,p_category,p_id,'
     319            'p_item,p_session,p_state,payment_date,r_amount_approved,'
     320            'r_code,r_desc,applicant_id,reg_number,display_fullname\r\n'
     321            ',0.0,%s,application,p120,,2012,paid,,0.0,,,dp2011_654321,'
     322            '123456,Anna M. Tester\r\n' % cdate, result)
     323        return
Note: See TracChangeset for help on using the changeset viewer.