Ignore:
Timestamp:
16 Nov 2015, 09:13:22 (9 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base package.

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py

    r13393 r13461  
    370370        self.browser.open(self.acco_path)
    371371        IWorkflowInfo(self.student).fireTransition('admit')
    372         self.browser.getLink("Book accommodation").click()
     372        self.browser.getControl("Book accommodation").click()
    373373        self.assertFalse('Activation Code:' in self.browser.contents)
    374374        self.browser.getControl("Create bed ticket").click()
     
    390390        self.browser.open(self.acco_path)
    391391        IWorkflowInfo(self.student).fireTransition('admit')
    392         self.browser.getLink("Book accommodation").click()
     392        self.browser.getControl("Book accommodation").click()
    393393        self.browser.getControl("Create bed ticket").click()
    394394        self.assertTrue('There is no free bed in your category iot_male_fr.' in
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py

    r13419 r13461  
    106106        return None
    107107
    108     def selectBed(self, available_beds):
     108    def selectBed(self, available_beds, desired_hostel):
    109109        """Randomly select a bed from a list of available beds.
    110 
    111110        """
    112111        return random.choice(available_beds)
Note: See TracChangeset for help on using the changeset viewer.