Changeset 10556 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 29 Aug 2013, 09:51:15 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_student_statistics.py
r10551 r10556 11 11 from waeup.kofa.testing import FunctionalLayer 12 12 from waeup.kofa.tests.test_async import FunctionalAsyncTestCase 13 from waeup.kofa.browser.tests.test_pdf import samples_dir 13 14 14 15 class StudentStatisticsReportTests(CatalogTestSetup): … … 72 73 result = report.create_pdf() 73 74 self.assertTrue(result.startswith('%PDF-')) 75 path = os.path.join(samples_dir(), 'student_statistics.pdf') 76 open(path, 'wb').write(result) 77 print "Sample PDF student_statistics.pdf written to %s" % path 74 78 return 75 79
Note: See TracChangeset for help on using the changeset viewer.