Changeset 14369


Ignore:
Timestamp:
5 Jan 2017, 08:44:50 (8 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_export.py

    r14206 r14369  
    44from waeup.kofa.interfaces import ICSVExporter
    55from waeup.kofa.schoolgrades import ResultEntry
    6 from waeup.kofa.students.tests.test_batching import StudentImportExportSetup
     6from waeup.kofa.students.tests.test_batching import (
     7    StudentImportExportSetup, curr_year)
    78from waeup.aaue.utils.utils import CustomKofaUtils
    89from waeup.aaue.students.export import (
     
    113114            'r_pay_reference,thirdparty_amt,student_id,state,'
    114115            'current_session\r\n'
    115             '666,12.12,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
    116             '100,2012,paid,2012-04-01 14:12:01#,,12.12,'
    117             '789,r-code,interswatch,,,,A111111,created,2012\r\n',
    118             result
     116            '666,12.12,%s-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
     117            '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
     118            '789,r-code,interswatch,,,,A111111,created,2012\r\n'
     119            % (curr_year-6, curr_year-6, curr_year-6), result
    119120            )
    120121        return
Note: See TracChangeset for help on using the changeset viewer.