Changeset 13462 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 16 Nov 2015, 09:16:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r13438 r13462 557 557 self.student.father_name = u'Rudolf' 558 558 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) 561 562 562 563 def test_student_accommodation(self): … … 577 578 self.browser.open(self.acco_path) 578 579 IWorkflowInfo(self.student).fireTransition('admit') 579 self.browser.get Link("Book accommodation").click()580 self.browser.getControl("Book accommodation").click() 580 581 self.assertFalse('Activation Code:' in self.browser.contents) 581 582 self.browser.getControl("Create bed ticket").click() … … 585 586 'Hall 1, Block A, Room 101, Bed A (regular_male_all)') 586 587 # 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, 588 590 'Hall 1') 589 591 self.assertFalse('Hall 1, Block A, Room 101, Bed A'
Note: See TracChangeset for help on using the changeset viewer.