Changeset 9653 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 17 Nov 2012, 07:15:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_reports.py
r9647 r9653 1 1 # Tests for student related reports 2 2 from waeup.kofa.students.reports import ( 3 get_students_by, Student Report)3 get_students_by, StudentsReport) 4 4 from waeup.kofa.students.tests.test_catalog import CatalogTestSetup 5 5 from waeup.kofa.testing import FunctionalLayer 6 6 7 class Student ReportTests(CatalogTestSetup):7 class StudentsReportTests(CatalogTestSetup): 8 8 9 9 layer = FunctionalLayer … … 54 54 def test_create_pdf(self): 55 55 self.create_cert('FAC2', 'dept2', 'CERT2') 56 report = Student Report(2010, 'Undergraduate Full-Time')56 report = StudentsReport(2010, 'Undergraduate Full-Time') 57 57 result = report.create_pdf() 58 58 self.assertTrue(result.startswith('%PDF-'))
Note: See TracChangeset for help on using the changeset viewer.