Changeset 17298


Ignore:
Timestamp:
16 Jan 2023, 20:43:11 (20 months ago)
Author:
Henrik Bettermann
Message:

Adjust to base package.

Location:
main/waeup.uniben/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/etc/site.zcml.in

    r15856 r17298  
    11<configure xmlns="http://namespaces.zope.org/zope"
     2           xmlns:browser="http://namespaces.zope.org/browser"
    23           xmlns:kofa="http://namespaces.waeup.org/kofa"
    34           i18n_domain="waeup.uniben">
     
    6667             principal="zope.manager" />
    6768   </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       
    6879</configure>
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py

    r16773 r17298  
    5454        self.login()
    5555        self.assertTrue(
    56             'You logged in.' in self.browser.contents)
     56            'You logged in as an applicant.' in self.browser.contents)
    5757        self.browser.open(self.edit_path)
    5858        self.assertTrue(self.browser.url != self.login_path)
  • main/waeup.uniben/trunk/src/waeup/uniben/ftesting.zcml

    r9849 r17298  
    11<configure
    22   xmlns="http://namespaces.zope.org/zope"
     3   xmlns:browser="http://namespaces.zope.org/browser"
    34   xmlns:kofa="http://namespaces.waeup.org/kofa"
    45   i18n_domain="waeup.uniben"
     
    6465  <grantAll role="zope.Manager" />
    6566  <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        />
    6676
    6777</configure>
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py

    r17255 r17298  
    828828        self.browser.getControl("Login").click()
    829829        self.assertTrue(
    830             'You logged in.' in self.browser.contents)
     830            'Did you know that with' in self.browser.contents)
    831831        # Now students can add the current study level
    832832        self.browser.getLink("Study Course").click()
     
    11731173        self.browser.getControl("Login").click()
    11741174        self.assertMatches(
    1175             '...You logged in...', self.browser.contents)
     1175            '...Did you know that with...', self.browser.contents)
    11761176        self.browser.getLink("Base Data").click()
    11771177        self.browser.getLink("Download admission letter").click()
     
    12001200        self.browser.getControl("Login").click()
    12011201        self.assertMatches(
    1202             '...You logged in...', self.browser.contents)
     1202            '...Did you know that with...', self.browser.contents)
    12031203        self.browser.getLink("Base Data").click()
    12041204        self.browser.getLink("Medical Questionnaire").click()
Note: See TracChangeset for help on using the changeset viewer.