- Timestamp:
- 8 Feb 2017, 07:39:08 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py
r14423 r14514 129 129 'application/pdf') 130 130 self.assertTrue( 131 'filename="LevelReport_ fac1_dep1_CERT1_2010_100_'in131 'filename="LevelReport_rno%s' % job_id in 132 132 self.browser.headers['content-disposition']) 133 133 self.assertEqual(len(self.app['reports'].running_report_jobs), 1) 134 job_id = self.app['reports'].running_report_jobs[0][0]135 134 # ... and discarded 136 135 self.browser.open('http://localhost/app/reports') … … 149 148 self.assertTrue( 150 149 'INFO - zope.mgr - students.reports.level_report.LevelReportPDFView - ' 151 'report %s downloaded: LevelReport_ fac1_dep1_CERT1_2010_100_'152 % job_idin logcontent150 'report %s downloaded: LevelReport_rno%s' 151 % (job_id, job_id) in logcontent 153 152 ) 154 153 self.assertTrue( -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_session_results_presentation.py
r14423 r14514 158 158 'application/pdf') 159 159 self.assertTrue( 160 'filename="SessionResultsPresentation_ fac1_dep1_CERT1_2010_100_'in160 'filename="SessionResultsPresentation_rno%s' % job_id in 161 161 self.browser.headers['content-disposition']) 162 162 self.assertEqual(len(self.app['reports'].running_report_jobs), 1) 163 job_id = self.app['reports'].running_report_jobs[0][0]164 163 # ... and discarded 165 164 self.browser.open('http://localhost/app/reports') … … 178 177 self.assertTrue( 179 178 'INFO - zope.mgr - students.reports.session_results_presentation.SessionResultsPresentationPDFView - ' 180 'report %s downloaded: SessionResultsPresentation_ fac1_dep1_CERT1_2010_100_'181 % job_idin logcontent179 'report %s downloaded: SessionResultsPresentation_rno%s' 180 % (job_id, job_id) in logcontent 182 181 ) 183 182 self.assertTrue( … … 199 198 'application/pdf') 200 199 self.assertTrue( 201 'filename="SessionResultsPresentation_ fac1_dep1_CERT1_2010_0_'in200 'filename="SessionResultsPresentation_rno%s' % job_id in 202 201 self.browser.headers['content-disposition']) 203 202 self.assertEqual(len(self.app['reports'].running_report_jobs), 1) 204 job_id = self.app['reports'].running_report_jobs[0][0]205 203 # ... and discarded 206 204 self.browser.open('http://localhost/app/reports') … … 219 217 self.assertTrue( 220 218 'INFO - zope.mgr - students.reports.session_results_presentation.SessionResultsPresentationPDFView - ' 221 'report %s downloaded: SessionResultsPresentation_ fac1_dep1_CERT1_2010_0_'222 % job_idin logcontent219 'report %s downloaded: SessionResultsPresentation_rno%s' 220 % (job_id, job_id) in logcontent 223 221 ) 224 222 self.assertTrue( -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_student_statistics.py
r14373 r14514 181 181 'application/pdf') 182 182 self.assertTrue( 183 'filename="StudentStatisticsReport_ 2004_2005_All_'in183 'filename="StudentStatisticsReport_rno%s' % job_id in 184 184 self.browser.headers['content-disposition']) 185 185 self.assertEqual(len(self.app['reports'].running_report_jobs), 1) 186 job_id = self.app['reports'].running_report_jobs[0][0]187 186 # ... and discarded 188 187 self.browser.open('http://localhost/app/reports') … … 200 199 self.assertTrue( 201 200 'INFO - zope.mgr - students.reports.student_statistics.StudentStatisticsReportPDFView - ' 202 'report %s downloaded: StudentStatisticsReport_ 2004_2005_All__'203 % job_idin logcontent201 'report %s downloaded: StudentStatisticsReport_rno%s' 202 % (job_id, job_id) in logcontent 204 203 ) 205 204 self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.