Changeset 13081 for main/waeup.uniben/trunk/src/waeup
- Timestamp:
- 20 Jun 2015, 08:01:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py
r11788 r13081 118 118 'Add admission checking payment ticket' in self.browser.contents) 119 119 self.assertTrue('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents) 120 self.assertTrue(' 55' in self.browser.contents)120 self.assertTrue('<span>55</span>' in self.browser.contents) 121 121 configuration = CustomSessionConfiguration() 122 122 configuration.academic_session = datetime.now().year - 2 … … 128 128 'Add admission checking payment ticket' in self.browser.contents) 129 129 self.assertTrue('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents) 130 self.assertTrue(' 55' in self.browser.contents)130 self.assertTrue('<span>55</span>' in self.browser.contents) 131 131 configuration.admchecking_fee = 22.0 132 132 # Admission checking payment button is now visible, but screening results … … 136 136 'Add admission checking payment ticket' in self.browser.contents) 137 137 self.assertFalse('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents) 138 self.assertFalse(' 55' in self.browser.contents)138 self.assertFalse('<span>55</span>' in self.browser.contents) 139 139 # Application slip can't be downloaded 140 140 self.assertFalse('Download application slip' in self.browser.contents) … … 153 153 'Add admission checking payment ticket' in self.browser.contents) 154 154 self.assertTrue('<a href="http://localhost/app/faculties/fac1/dep1/certificates/CERT1">CERT1 - Unnamed Certificate</a>' in self.browser.contents) 155 self.assertTrue(' 55' in self.browser.contents)155 self.assertTrue('<span>55</span>' in self.browser.contents) 156 156 # Application slip can be downloaded again. 157 157 self.browser.getLink("Download application slip").click()
Note: See TracChangeset for help on using the changeset viewer.