Changeset 11488 for main/waeup.futminna/trunk/src/waeup/futminna
- Timestamp:
- 13 Mar 2014, 06:49:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/applicants/tests/test_browser.py
r10275 r11488 23 23 import pytz 24 24 import grok 25 from datetime import datetime 25 26 from datetime import datetime, date, timedelta 26 27 from zope.event import notify … … 36 37 PH_LEN = 15911 # Length of placeholder file 37 38 39 session = datetime.now().year - 2 40 container_name = u'app%s' % session 41 38 42 39 43 class ApplicantUITests(ApplicantsFullSetup): … … 157 161 in logcontent) 158 162 # When an applicant is removed, also the pdf files are gone. 159 del self.app['applicants'][ 'app2011'][self.applicant.application_number]163 del self.app['applicants'][container_name][self.applicant.application_number] 160 164 fd = storage.getFile(file_id) 161 165 self.assertTrue(fd is None) … … 248 252 in logcontent) 249 253 # When an applicant is removed, also the pdf files are gone. 250 del self.app['applicants'][ 'app2011'][self.applicant.application_number]254 del self.app['applicants'][container_name][self.applicant.application_number] 251 255 fd = storage.getFile(file_id) 252 256 self.assertTrue(fd is None)
Note: See TracChangeset for help on using the changeset viewer.