Changeset 14238 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 28 Oct 2016, 08:24:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r14227 r14238 32 32 from zope.catalog.interfaces import ICatalog 33 33 from waeup.kofa.app import University 34 from waeup.kofa.interfaces import VALIDATED 34 from waeup.kofa.interfaces import VALIDATED, PAID 35 35 from waeup.kofa.students.tests.test_browser import StudentsFullSetup 36 36 from waeup.kofa.students.accommodation import BedTicket … … 796 796 in self.browser.contents) 797 797 self.student['studycourse'].certificate.study_mode = 'ug_ft' 798 self.app['hostels'].accommodation_states = [PAID] 799 self.browser.getControl("Book accommodation").click() 800 self.assertTrue( 801 'You are in the wrong registration state.' 802 in self.browser.contents) 803 IWorkflowState(self.student).setState(PAID) 798 804 self.browser.getControl("Book accommodation").click() 799 805 self.assertFalse('Activation Code:' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.