Changeset 15036 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 30 May 2018, 20:20:50 (6 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicantcopier.py
r14952 r15036 117 117 self.assertEqual(pdf[:8], '%PDF-1.4') 118 118 # Copy te file to samples_dir 119 path = os.path.join(samples_dir(), 'ap lication_slip.pdf')119 path = os.path.join(samples_dir(), 'application_slip.pdf') 120 120 open(path, 'wb').write(pdf) 121 print "Sample PDF ap lication_slip.pdf written to %s" % path121 print "Sample PDF application_slip.pdf written to %s" % path 122 122 # Check if there is an application slip link in UI 123 123 self.assertTrue('Application Slip' in self.browser.contents) -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/raw_score_report.py
r15033 r15036 122 122 ] 123 123 124 @property 125 def col_width(self): 126 return [1*cm, 4*cm, 5*cm] + [1*cm] * len(self.certcourses) 124 127 125 128 @property … … 248 251 table_data[level] = tbl_data_to_table( 249 252 self.data[level], self.certcourses[level]) 250 col_widths = [1*cm, 4*cm, 5*cm] + [1*cm] * len(self.certcourses)251 253 pdf_data = [Paragraph('<font size=%s><b>%s - Report %s</b></font>' 252 254 % (self.fontsize, self.creation_dt_string, job_id), … … 274 276 Table(table_data[level], 275 277 style=self.table_style, 276 colWidths= col_widths)]278 colWidths=self.col_width)] 277 279 pdf_data.append(Spacer(1, 20)) 278 280 if self.signatures:
Note: See TracChangeset for help on using the changeset viewer.