Changeset 13252 for main/waeup.uniben/trunk/src/waeup/uniben/students
- Timestamp:
- 6 Sep 2015, 07:23:27 (9 years ago)
- Location:
- main/waeup.uniben/trunk
- Files:
-
- 3 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/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.