Ignore:
Timestamp:
23 Apr 2015, 21:13:29 (10 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base package.

File:
1 edited

Legend:

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

    r12430 r12878  
    77from kofacustom.skeleton.utils.utils import CustomKofaUtils
    88from kofacustom.skeleton.students.export import (
    9     CustomStudentExporter, CustomStudentPaymentsExporter)
     9    CustomStudentExporter, CustomStudentPaymentExporter)
    1010from kofacustom.skeleton.testing import FunctionalLayer
    1111
     
    7373        return
    7474
    75 class CustomStudentPaymentsExporterTest(StudentImportExportSetup):
     75class CustomStudentPaymentExporterTest(StudentImportExportSetup):
    7676
    7777    layer = FunctionalLayer
    7878
    7979    def setUp(self):
    80         super(CustomStudentPaymentsExporterTest, self).setUp()
     80        super(CustomStudentPaymentExporterTest, self).setUp()
    8181        self.setup_for_export()
    8282        return
     
    8484    def test_ifaces(self):
    8585        # make sure we fullfill interface contracts
    86         obj = CustomStudentPaymentsExporter()
     86        obj = CustomStudentPaymentExporter()
    8787        verifyObject(ICSVExporter, obj)
    88         verifyClass(ICSVExporter, CustomStudentPaymentsExporter)
     88        verifyClass(ICSVExporter, CustomStudentPaymentExporter)
    8989        return
    9090
     
    9595        self.student['payments']['my-payment'].r_company = 'interswatch'
    9696        self.student['payments']['my-payment'].r_card_num = '789'
    97         exporter = CustomStudentPaymentsExporter()
     97        exporter = CustomStudentPaymentExporter()
    9898        exporter.export_all(self.app, self.outfile)
    9999        result = open(self.outfile, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.