- Timestamp:
- 12 Jan 2012, 11:43:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/tests/test_browser.py
r7452 r7453 807 807 self.browser.getLink("Clear student").click() 808 808 self.assertTrue('Student has been cleared' in self.browser.contents) 809 self.assertTrue(' State: <span>cleared</span>' in self.browser.contents)809 self.assertTrue('cleared' in self.browser.contents) 810 810 self.browser.getLink("Reject clearance").click() 811 811 self.assertTrue('Clearance has been annulled' in self.browser.contents) … … 814 814 self.assertEqual(self.browser.url, self.student_path + 815 815 '/contactstudent?subject=%s' % urlmessage) 816 self.assertTrue('State: <span>clearance started</span>' 817 in self.browser.contents) 816 self.assertTrue('clearance started' in self.browser.contents) 818 817 IWorkflowInfo(self.student).fireTransition('request_clearance') 819 818 self.browser.open(self.clearance_student_path) … … 821 820 self.assertTrue('Clearance request has been rejected' 822 821 in self.browser.contents) 823 self.assertTrue('State: <span>clearance started</span>' 824 in self.browser.contents) 822 self.assertTrue('clearance started' in self.browser.contents) 825 823 # CO does now also see the contact form and can send a message 826 824 self.browser.getControl(name="form.subject").value = 'Important subject' … … 917 915 self.browser.getLink("Validate courses").click() 918 916 self.assertTrue('Course list has been validated' in self.browser.contents) 919 self.assertTrue(' State: <span>courses validated</span>' in self.browser.contents)917 self.assertTrue('courses validated' in self.browser.contents) 920 918 self.browser.getLink("Reject courses").click() 921 919 self.assertTrue('Course list request has been annulled'
Note: See TracChangeset for help on using the changeset viewer.