Ignore:
Timestamp:
17 Nov 2012, 07:15:04 (12 years ago)
Author:
Henrik Bettermann
Message:

It's not a report of a single student but a report of subsets of students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_reports.py

    r9647 r9653  
    11# Tests for student related reports
    22from waeup.kofa.students.reports import (
    3     get_students_by, StudentReport)
     3    get_students_by, StudentsReport)
    44from waeup.kofa.students.tests.test_catalog import CatalogTestSetup
    55from waeup.kofa.testing import FunctionalLayer
    66
    7 class StudentReportTests(CatalogTestSetup):
     7class StudentsReportTests(CatalogTestSetup):
    88
    99    layer = FunctionalLayer
     
    5454    def test_create_pdf(self):
    5555        self.create_cert('FAC2', 'dept2', 'CERT2')
    56         report = StudentReport(2010, 'Undergraduate Full-Time')
     56        report = StudentsReport(2010, 'Undergraduate Full-Time')
    5757        result = report.create_pdf()
    5858        self.assertTrue(result.startswith('%PDF-'))
Note: See TracChangeset for help on using the changeset viewer.