- Timestamp:
- 8 Nov 2012, 22:14:13 (12 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/export.py
r8926 r9582 33 33 IApplicantBaseData.names() 34 34 ))) + ('container_code',) 35 36 def mangle_value(self, value, name, context=None): 37 if '_result' in name and value: 38 value = [eval(entry.to_string()) for entry in value] 39 return super( 40 NigeriaApplicantsExporter, self).mangle_value( 41 value, name, context=context) -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_browser.py
r9567 r9582 290 290 def test_student_expired_personal_data(self): 291 291 # Login 292 IWorkflowState(self.student).setState('school fee paid') 292 293 delta = timedelta(days=180) 293 294 self.student.personal_updated = datetime.utcnow() - delta … … 313 314 self.assertEqual(self.browser.url, self.edit_personal_path) 314 315 self.assertTrue( 315 'Your personal data record expired' in self.browser.contents)316 'Your personal data record is outdated.' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.