Ignore:
Timestamp:
28 Nov 2014, 09:54:10 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename some exporter classes: singular not plural.

File:
1 edited

Legend:

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

    r11813 r12084  
    77from kofacustom.skeleton.utils.utils import CustomKofaUtils
    88from kofacustom.skeleton.students.export import (
    9     CustomStudentsExporter, CustomStudentPaymentsExporter)
     9    CustomStudentExporter, CustomStudentPaymentsExporter)
    1010from kofacustom.skeleton.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()
Note: See TracChangeset for help on using the changeset viewer.