Ignore:
Timestamp:
14 Dec 2014, 21:48:41 (10 years ago)
Author:
Henrik Bettermann
Message:

Repair package. Hopefully we'll never need this package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/tests/test_export.py

    r11832 r12234  
    77from kofacustom.pcn.utils.utils import CustomKofaUtils
    88from kofacustom.pcn.students.export import (
    9     CustomStudentsExporter, CustomStudentPaymentsExporter)
     9    CustomStudentExporter, CustomStudentPaymentsExporter)
    1010from kofacustom.pcn.testing import FunctionalLayer
    1111
    1212
    13 class CustomStudentsExporterTest(StudentImportExportSetup):
     13class CustomStudentExporterTest(StudentImportExportSetup):
    1414
    1515    layer = FunctionalLayer
    1616
    1717    def setUp(self):
    18         super(CustomStudentsExporterTest, self).setUp()
     18        super(CustomStudentExporterTest, self).setUp()
    1919        self.setup_for_export()
    2020        result_entry = ResultEntry(
     
    3232    def test_ifaces(self):
    3333        # make sure we fullfill interface contracts
    34         obj = CustomStudentsExporter()
     34        obj = CustomStudentExporter()
    3535        verifyObject(ICSVExporter, obj)
    36         verifyClass(ICSVExporter, CustomStudentsExporter)
     36        verifyClass(ICSVExporter, CustomStudentExporter)
    3737        return
    3838
     
    4242        # set values we can expect in export file
    4343        self.setup_student(self.student)
    44         exporter = CustomStudentsExporter()
     44        exporter = CustomStudentExporter()
    4545        exporter.export_all(self.app, self.outfile)
    4646        result = open(self.outfile, 'rb').read()
     
    9090            'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
    9191            'r_code,r_desc,student_id,state,current_session\r\n666,'
    92             '12.12,2012-04-01 13:12:01,schoolfee,1,my-id,p-item,'
    93             '100,2012,paid,2012-04-01 14:12:01,12.12,r-code,,'
     92            '12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,p-item,'
     93            '100,2012,paid,2012-04-01 14:12:01#,12.12,r-code,,'
    9494            'A111111,created,2012\r\n',
    9595            result
Note: See TracChangeset for help on using the changeset viewer.