Changeset 9716


Ignore:
Timestamp:
23 Nov 2012, 11:24:35 (12 years ago)
Author:
Henrik Bettermann
Message:

We do not need to redirect to context view.

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  
    14071407                    _('Your current session does not match ' + \
    14081408                    'accommodation session.'))
    1409                 self.redirect(self.url(self.context))
    14101409                return
    14111410        if 'maintenance' in p_category:
     
    14131412            if not current_session in student['accommodation']:
    14141413                self.flash(_('You have not yet booked accommodation.'))
    1415                 self.redirect(self.url(self.context))
    14161414                return
    14171415        students_utils = getUtility(IStudentsUtils)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r9705 r9716  
    926926                           self.browser.contents)
    927927        self.app['hostels'].accommodation_session = 2004
    928         self.browser.getLink("Add current session payment ticket").click()
    929928        self.browser.getControl(name="form.p_category").value = ['bed_allocation']
    930929        self.browser.getControl("Create ticket").click()
Note: See TracChangeset for help on using the changeset viewer.