- Timestamp:
- 6 Feb 2017, 08:18:22 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14506 r14509 128 128 #if not fac_dep_paid: 129 129 # return _("Please pay faculty and departmental dues first.") 130 131 132 ###################################################### 133 # Temporarily disable ug_ft course registration 134 if self.student.current_mode == 'ug_ft': 135 return _("Please check back later, course registration is not yet available.") 136 ###################################################### 137 138 139 130 140 restitution_paid = True 131 141 if self.student.entry_session < 2016 \ -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r14501 r14509 624 624 self.assertFalse('<td>67</td>' in self.browser.contents) 625 625 self.browser.getControl("Register course list").click() 626 627 ###################################################### 628 # Temporarily disabled ug_ft course registration 629 self.assertTrue('Please check back later' 630 in self.browser.contents) 631 return 632 ###################################################### 633 634 626 635 self.assertTrue('Course registration has ended. Please pay' in self.browser.contents) 627 636 self.student['payments'].values()[1].approve() … … 959 968 #self.browser.open(self.studycourse_path + '/100/edit') 960 969 #self.browser.getControl("Register course list").click() 970 971 ###################################################### 972 # Temporarily disabled ug_ft course registration 973 self.assertTrue('Please check back later' 974 in self.browser.contents) 975 ###################################################### 976 961 977 self.assertTrue('Course list has been registered' 962 978 in self.browser.contents) … … 976 992 self.browser.getLink("Edit course list").click() 977 993 self.browser.getControl("Register course list").click() 994 995 ###################################################### 996 # Temporarily disabled ug_ft course registration 997 self.assertTrue('Please check back later' 998 in self.browser.contents) 999 return 1000 ###################################################### 1001 978 1002 self.assertTrue('Please pay restitution fee first' 979 1003 in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.