Changeset 11965 for main/waeup.kwarapoly
- Timestamp:
- 16 Nov 2014, 07:05:22 (10 years ago)
- Location:
- main/waeup.kwarapoly/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/CHANGES.txt
r11955 r11965 4 4 1.2dev (unreleased) 5 5 =================== 6 7 * Rename ITCH faculty. 6 8 7 9 * 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 377 377 return 378 378 379 def test_no_beds_for_i tch(self):380 self.app['faculties']['fac1'].code = 'I TCH'379 def test_no_beds_for_iot(self): 380 self.app['faculties']['fac1'].code = 'IOT' 381 381 del self.student['accommodation']['2004'] 382 382 # Login … … 390 390 self.browser.getLink("Book accommodation").click() 391 391 self.browser.getControl("Create bed ticket").click() 392 self.assertTrue('There is no free bed in your category i tch_male_fr.' in392 self.assertTrue('There is no free bed in your category iot_male_fr.' in 393 393 self.browser.contents) 394 394 return -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r11944 r11965 310 310 sex = 'male' 311 311 special_handling = 'regular' 312 if student.faccode == 'I TCH':313 special_handling = 'i tch'312 if student.faccode == 'IOT': 313 special_handling = 'iot' 314 314 d['bt'] = u'%s_%s_%s' % (special_handling,sex,bt) 315 315 return d -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py
r11922 r11965 143 143 'blocked': 'Blocked Hostel', 144 144 'pg': 'Postgraduate Hostel', 145 'i tch': 'ITCHHostel'145 'iot': 'IOT Hostel' 146 146 } 147 147
Note: See TracChangeset for help on using the changeset viewer.