Ignore:
Timestamp:
26 Oct 2012, 21:46:42 (12 years ago)
Author:
Henrik Bettermann
Message:

Adjust to previous revisions.

File:
1 edited

Legend:

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

    r9154 r9433  
    2626from waeup.kofa.app import University
    2727from waeup.kofa.students.tests.test_browser import StudentsFullSetup
     28from waeup.kofa.students.accommodation import BedTicket
    2829from waeup.kofa.testing import FunctionalTestCase
    2930from waeup.kofa.interfaces import (
     
    7071    layer = FunctionalLayer
    7172
     73    def setUp(self):
     74        super(StudentUITests, self).setUp()
     75
     76        bedticket = BedTicket()
     77        bedticket.booking_session = 2004
     78        bedticket.bed_type = u'any bed type'
     79        bedticket.bed = self.app['hostels']['hall-1']['hall-1_A_101_A']
     80        bedticket.bed_coordinates = u'My bed coordinates'
     81        self.student['accommodation'].addBedTicket(bedticket)
     82
    7283    def test_manage_payments(self):
    7384        # Add missing configuration data
Note: See TracChangeset for help on using the changeset viewer.