Changeset 13459
- Timestamp:
- 16 Nov 2015, 09:08:11 (9 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
r13274 r13459 144 144 self.browser.open(self.acco_path) 145 145 IWorkflowState(self.student).setState('admitted') 146 self.browser.get Link("Book accommodation").click()146 self.browser.getControl("Book accommodation").click() 147 147 self.assertFalse('Activation Code:' in self.browser.contents) 148 148 self.browser.getControl("Create bed ticket").click() -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r13275 r13459 357 357 self.browser.open(self.acco_path) 358 358 IWorkflowInfo(self.student).fireTransition('admit') 359 self.browser.get Link("Book accommodation").click()359 self.browser.getControl("Book accommodation").click() 360 360 self.assertFalse('Activation Code:' in self.browser.contents) 361 361 self.browser.getControl("Create bed ticket").click() -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r13275 r13459 43 43 """ 44 44 45 def selectBed(self, available_beds): 46 """Randomly select a bed from a list of available beds. 47 45 def selectBed(self, available_beds, desired_hostel): 46 """Randomly select a bed from the list of available beds. 48 47 """ 49 48 return random.choice(available_beds)
Note: See TracChangeset for help on using the changeset viewer.