Changeset 7685
- Timestamp:
- 23 Feb 2012, 08:44:57 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7683 r7685 159 159 code = u'%s%s' % (data['prefix'], year) 160 160 appcats_dict = getUtility(IApplicantsUtils).getApplicationTypeDict() 161 prefix= appcats_dict[data['prefix']][0]162 title = u'%s %s/%s' % ( prefix.title, year, year + 1)161 title = appcats_dict[data['prefix']][0] 162 title = u'%s %s/%s' % (title, year, year + 1) 163 163 if code in self.context.keys(): 164 164 self.flash( -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7649 r7685 252 252 self.browser.getControl("Add applicants container").click() 253 253 self.assertTrue('Added:' in self.browser.contents) 254 self.browser.getLink("app2010").click() 255 self.assertTrue('<h1>General Studies 2010/2011</h1>' 256 in self.browser.contents) 254 257 self.browser.open(self.add_container_path) 255 258 self.browser.getControl("Cancel").click()
Note: See TracChangeset for help on using the changeset viewer.