Ignore:
Timestamp:
9 Jan 2023, 21:16:28 (2 years ago)
Author:
Henrik Bettermann
Message:

Specify the role in flash message after logging in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r17018 r17261  
    689689        self.browser.getControl("Login").click()
    690690        self.assertTrue(
    691             'You logged in.' in self.browser.contents)
     691            'You logged in as an applicant.' in self.browser.contents)
    692692
    693693    def test_maintenance_mode(self):
     
    716716        self.login()
    717717        self.assertTrue(
    718             'You logged in.' in self.browser.contents)
     718            'You logged in as an applicant.' in self.browser.contents)
    719719        self.browser.open(self.edit_path)
    720720        self.assertTrue(self.browser.url != self.login_path)
     
    740740        self.login()
    741741        self.assertTrue(
    742             'You logged in.' in self.browser.contents)
     742            'You logged in as an applicant.' in self.browser.contents)
    743743        self.assertTrue(
    744744            '<strong>Congratulations!</strong> You have been offered provisional'
     
    20662066            '\nmsg: Dear John Anthony Tester,'
    20672067            '\nmsg: '
    2068             '\nmsg: Your application app2020_<6-DIGITS> has been successfully submitted to Sample University.'
     2068            '\nmsg: Your application app%s_<6-DIGITS> has been successfully submitted to Sample University.'
    20692069            '\nmsg: '
    20702070            '\nmsg: Regards'
    20712071            '\nmsg: '
    20722072            % (session_1, session_1, session_2, mandate_id_0,
    2073                session_1, session_1, session_2, mandate_id_1,),
     2073               session_1, session_1, session_2, mandate_id_1, session_1),
    20742074            self.get_fake_smtp_output()
    20752075            )
Note: See TracChangeset for help on using the changeset viewer.