Changeset 13252
- Timestamp:
- 6 Sep 2015, 07:23:27 (9 years ago)
- Location:
- main/waeup.uniben/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk
- Property svn:ignore
-
old new 7 7 sources 8 8 var 9 uuid.txt
-
- Property svn:ignore
-
main/waeup.uniben/trunk/CHANGES.txt
r13117 r13252 4 4 1.2dev (unreleased) 5 5 =================== 6 7 * Only students with verdict 'A' or 'B' are eligible to book 8 accommodation. 6 9 7 10 * Split school fee payments of ug_ft students. -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r13251 r13252 942 942 self.browser.contents) 943 943 self.student['studycourse'].current_level = 100 944 # ... or student has not appropriate verdict (Uniben only!) 945 self.student['studycourse'].current_verdict = 'C' 946 self.browser.getLink("Book accommodation").click() 947 self.assertMatches('...Your are not eligible...', 948 self.browser.contents) 949 self.student['studycourse'].current_verdict = 'A' 944 950 # ... or student is not the an allowed state ... 945 951 self.browser.getLink("Book accommodation").click() -
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r13251 r13252 66 66 return _("Outside booking period.") 67 67 if not student.current_verdict in ('A', 'B'): 68 return _("Your data areeligible to book accommodation.")68 return _("Your are not eligible to book accommodation.") 69 69 if not acc_details.get('bt'): 70 70 return _("Your data are incomplete.")
Note: See TracChangeset for help on using the changeset viewer.