Changeset 9716 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 23 Nov 2012, 11:24:35 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9702 r9716 1407 1407 _('Your current session does not match ' + \ 1408 1408 'accommodation session.')) 1409 self.redirect(self.url(self.context))1410 1409 return 1411 1410 if 'maintenance' in p_category: … … 1413 1412 if not current_session in student['accommodation']: 1414 1413 self.flash(_('You have not yet booked accommodation.')) 1415 self.redirect(self.url(self.context))1416 1414 return 1417 1415 students_utils = getUtility(IStudentsUtils) -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9705 r9716 926 926 self.browser.contents) 927 927 self.app['hostels'].accommodation_session = 2004 928 self.browser.getLink("Add current session payment ticket").click()929 928 self.browser.getControl(name="form.p_category").value = ['bed_allocation'] 930 929 self.browser.getControl("Create ticket").click()
Note: See TracChangeset for help on using the changeset viewer.