Changeset 7006 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 6 Nov 2011, 10:11:44 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7004 r7006 16 16 """UI components for students and related components. 17 17 """ 18 import sys 18 19 import grok 19 20 from time import time … … 1154 1155 bed = selectBed(available_beds) 1155 1156 bed.bookBed(student.student_id) 1156 bedticket.bed = bed # maybe wo don't need the bed object itself and can 1157 # remove that later 1157 bedticket.bed = bed 1158 1158 hall_title = bed.__parent__.hostel_name 1159 1159 coordinates = bed.getBedCoordinates()[1:] -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7005 r7006 888 888 ctrl.getControl(value=value).selected = True 889 889 self.browser.getControl("Remove selected", index=0).click() 890 self.assert True('Successfully removed' inself.browser.contents)890 self.assertMatches('...Successfully removed...', self.browser.contents) 891 891 # Due to an event handler also the bed has been released properly 892 892 bed = self.app['hostels']['hall-1']['hall-1_A_101_A']
Note: See TracChangeset for help on using the changeset viewer.