Changeset 13753 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 29 Feb 2016, 17:01:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r13749 r13753 597 597 def test_student_accommodation(self): 598 598 del self.student['accommodation']['2004'] 599 self.student['studycourse'].certificate.study_mode = 'dp_ft' 599 600 # All beds can be assigned 600 601 bed1 = self.app['hostels']['hall-1']['hall-1_A_101_A'] … … 612 613 self.browser.open(self.acco_path) 613 614 IWorkflowInfo(self.student).fireTransition('admit') 615 self.browser.getControl("Book accommodation").click() 616 self.assertTrue( 617 'You are not eligible to book accommodation.' 618 in self.browser.contents) 619 self.student['studycourse'].certificate.study_mode = 'ug_ft' 614 620 self.browser.getControl("Book accommodation").click() 615 621 self.assertFalse('Activation Code:' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.