Changeset 11965 for main/waeup.kwarapoly


Ignore:
Timestamp:
16 Nov 2014, 07:05:22 (10 years ago)
Author:
Henrik Bettermann
Message:

ITCH is now IOT.

Location:
main/waeup.kwarapoly/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/CHANGES.txt

    r11955 r11965  
    441.2dev (unreleased)
    55===================
     6
     7* Rename ITCH faculty.
    68
    79* Change wrong faculty codes in Interswitch module (IBAS=IAS;ITCH=IOT;IETS=IES).
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py

    r11873 r11965  
    377377        return
    378378
    379     def test_no_beds_for_itch(self):
    380         self.app['faculties']['fac1'].code = 'ITCH'
     379    def test_no_beds_for_iot(self):
     380        self.app['faculties']['fac1'].code = 'IOT'
    381381        del self.student['accommodation']['2004']
    382382        # Login
     
    390390        self.browser.getLink("Book accommodation").click()
    391391        self.browser.getControl("Create bed ticket").click()
    392         self.assertTrue('There is no free bed in your category itch_male_fr.' in
     392        self.assertTrue('There is no free bed in your category iot_male_fr.' in
    393393                           self.browser.contents)
    394394        return
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py

    r11944 r11965  
    310310            sex = 'male'
    311311        special_handling = 'regular'
    312         if student.faccode == 'ITCH':
    313             special_handling = 'itch'
     312        if student.faccode == 'IOT':
     313            special_handling = 'iot'
    314314        d['bt'] = u'%s_%s_%s' % (special_handling,sex,bt)
    315315        return d
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py

    r11922 r11965  
    143143        'blocked': 'Blocked Hostel',
    144144        'pg': 'Postgraduate Hostel',
    145         'itch': 'ITCH Hostel'
     145        'iot': 'IOT Hostel'
    146146        }
    147147
Note: See TracChangeset for help on using the changeset viewer.