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

Adjust to changes in base package.

File:
1 edited

Legend:

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

    r13438 r13462  
    557557        self.student.father_name = u'Rudolf'
    558558        self.browser.open(self.student_path + '/start_clearance')
    559         self.assertMatches('...<h1 class="kofa-content-label">Start clearance</h1>...',
    560                    self.browser.contents)
     559        self.assertMatches(
     560            '...<h1 class="kofa-content-label">Start clearance</h1>...',
     561            self.browser.contents)
    561562
    562563    def test_student_accommodation(self):
     
    577578        self.browser.open(self.acco_path)
    578579        IWorkflowInfo(self.student).fireTransition('admit')
    579         self.browser.getLink("Book accommodation").click()
     580        self.browser.getControl("Book accommodation").click()
    580581        self.assertFalse('Activation Code:' in self.browser.contents)
    581582        self.browser.getControl("Create bed ticket").click()
     
    585586            'Hall 1, Block A, Room 101, Bed A (regular_male_all)')
    586587        # Only the hall name is displayed
    587         self.assertEqual(self.student['accommodation']['2004'].display_coordinates,
     588        self.assertEqual(self.student[
     589            'accommodation']['2004'].display_coordinates,
    588590            'Hall 1')
    589591        self.assertFalse('Hall 1, Block A, Room 101, Bed A'
Note: See TracChangeset for help on using the changeset viewer.