Changeset 9435 for main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Timestamp:
- 26 Oct 2012, 21:48:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r9395 r9435 29 29 from waeup.kofa.app import University 30 30 from waeup.kofa.students.tests.test_browser import StudentsFullSetup 31 from waeup.kofa.students.accommodation import BedTicket 31 32 from waeup.kofa.testing import FunctionalTestCase 32 33 from waeup.kofa.interfaces import ( … … 72 73 73 74 layer = FunctionalLayer 75 76 def setUp(self): 77 super(StudentUITests, self).setUp() 78 79 bedticket = BedTicket() 80 bedticket.booking_session = 2004 81 bedticket.bed_type = u'any bed type' 82 bedticket.bed = self.app['hostels']['hall-1']['hall-1_A_101_A'] 83 bedticket.bed_coordinates = u'My bed coordinates' 84 self.student['accommodation'].addBedTicket(bedticket) 74 85 75 86 def test_next_session_allowed(self):
Note: See TracChangeset for help on using the changeset viewer.