Ignore:
Timestamp:
5 Dec 2011, 07:20:41 (13 years ago)
Author:
Henrik Bettermann
Message:

Redirect to contact form after rejecting clearance and pre-fill subject line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r7251 r7275  
    736736        self.browser.getLink("Reject clearance").click()
    737737        self.assertTrue('Clearance has been annulled' in self.browser.contents)
     738        urlmessage = 'Clearance+has+been+annulled'
     739        self.assertEqual(self.browser.url, self.student_path +
     740            '/contactstudent?subject=%s' % urlmessage)
    738741        self.assertTrue('State: <span>clearance started</span>'
    739742            in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.