Changeset 17298 for main/waeup.uniben
- Timestamp:
- 16 Jan 2023, 20:43:11 (22 months ago)
- Location:
- main/waeup.uniben/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/etc/site.zcml.in
r15856 r17298 1 1 <configure xmlns="http://namespaces.zope.org/zope" 2 xmlns:browser="http://namespaces.zope.org/browser" 2 3 xmlns:kofa="http://namespaces.waeup.org/kofa" 3 4 i18n_domain="waeup.uniben"> … … 66 67 principal="zope.manager" /> 67 68 </configure> 69 70 <!-- session --> 71 <browser:beakerSession 72 key="waeup.kofa.session.id" 73 secret="KofaRocks" 74 timeout="3600" 75 type="cookie" 76 validate_key="thisMightBeChanged" 77 /> 78 68 79 </configure> -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py
r16773 r17298 54 54 self.login() 55 55 self.assertTrue( 56 'You logged in .' in self.browser.contents)56 'You logged in as an applicant.' in self.browser.contents) 57 57 self.browser.open(self.edit_path) 58 58 self.assertTrue(self.browser.url != self.login_path) -
main/waeup.uniben/trunk/src/waeup/uniben/ftesting.zcml
r9849 r17298 1 1 <configure 2 2 xmlns="http://namespaces.zope.org/zope" 3 xmlns:browser="http://namespaces.zope.org/browser" 3 4 xmlns:kofa="http://namespaces.waeup.org/kofa" 4 5 i18n_domain="waeup.uniben" … … 64 65 <grantAll role="zope.Manager" /> 65 66 <grant role="zope.Manager" principal="zope.mgr" /> 67 68 <!-- session --> 69 <browser:beakerSession 70 key="waeup.kofa.session.id" 71 secret="KofaRocks" 72 timeout="3600" 73 type="cookie" 74 validate_key="thisMightBeChanged" 75 /> 66 76 67 77 </configure> -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r17255 r17298 828 828 self.browser.getControl("Login").click() 829 829 self.assertTrue( 830 ' You logged in.' in self.browser.contents)830 'Did you know that with' in self.browser.contents) 831 831 # Now students can add the current study level 832 832 self.browser.getLink("Study Course").click() … … 1173 1173 self.browser.getControl("Login").click() 1174 1174 self.assertMatches( 1175 '... You logged in...', self.browser.contents)1175 '...Did you know that with...', self.browser.contents) 1176 1176 self.browser.getLink("Base Data").click() 1177 1177 self.browser.getLink("Download admission letter").click() … … 1200 1200 self.browser.getControl("Login").click() 1201 1201 self.assertMatches( 1202 '... You logged in...', self.browser.contents)1202 '...Did you know that with...', self.browser.contents) 1203 1203 self.browser.getLink("Base Data").click() 1204 1204 self.browser.getLink("Medical Questionnaire").click()
Note: See TracChangeset for help on using the changeset viewer.