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

Adjust to changes in base package.

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  
    144144        self.browser.open(self.acco_path)
    145145        IWorkflowState(self.student).setState('admitted')
    146         self.browser.getLink("Book accommodation").click()
     146        self.browser.getControl("Book accommodation").click()
    147147        self.assertFalse('Activation Code:' in self.browser.contents)
    148148        self.browser.getControl("Create bed ticket").click()
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r13275 r13459  
    357357        self.browser.open(self.acco_path)
    358358        IWorkflowInfo(self.student).fireTransition('admit')
    359         self.browser.getLink("Book accommodation").click()
     359        self.browser.getControl("Book accommodation").click()
    360360        self.assertFalse('Activation Code:' in self.browser.contents)
    361361        self.browser.getControl("Create bed ticket").click()
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r13275 r13459  
    4343    """
    4444
    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.
    4847        """
    4948        return random.choice(available_beds)
Note: See TracChangeset for help on using the changeset viewer.