Ignore:
Timestamp:
14 Jan 2016, 10:43:10 (9 years ago)
Author:
Henrik Bettermann
Message:

Add special_handling code 'ugft' and allocate bed space accordingly.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests
Files:
2 edited

Legend:

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

    r13459 r13614  
    348348    def test_student_accommodation(self):
    349349        del self.student['accommodation']['2004']
     350        self.certificate.study_mode = 'ug_pt'
    350351        # Login
    351352        self.browser.open(self.login_path)
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_utils.py

    r9903 r13614  
    1414        students_utils = getUtility(IStudentsUtils)
    1515        acc_details  = students_utils.getAccommodationDetails(self.student)
    16         self.assertEqual(acc_details['bt'], 'regular_male_fr')
     16        self.assertEqual(acc_details['bt'], 'ugft_male_fr')
    1717        self.student['studycourse'].current_level = 200
     18        self.certificate.study_mode = 'ug_pt'
    1819        acc_details  = students_utils.getAccommodationDetails(self.student)
    1920        self.assertEqual(acc_details['bt'], 'regular_male_re')
Note: See TracChangeset for help on using the changeset viewer.