Ignore:
Timestamp:
11 Mar 2016, 14:21:02 (9 years ago)
Author:
Henrik Bettermann
Message:

Configure hostel allocation for pg students.

File:
1 edited

Legend:

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

    r13756 r13777  
    633633        self.assertEqual(error, None)
    634634
     635        self.certificate.study_mode = 'ug_ft'
    635636        error, payment = utils.setPaymentDetails('bed_allocation',
    636637            self.student, None, None)
     
    645646        self.assertEqual(payment.amount_auth, 650.0) # plus 500 student union
    646647        self.assertEqual(payment.p_item, u'regular_male_fr')
     648        self.assertEqual(error, None)
     649
     650        self.certificate.study_mode = 'pg_ft'
     651        error, payment = utils.setPaymentDetails('bed_allocation',
     652            self.student, None, None)
     653        self.assertEqual(payment.p_level, 100)
     654        self.assertEqual(payment.p_session, 2004)
     655        self.assertEqual(payment.amount_auth, 150.0)
     656        self.assertEqual(payment.p_item, u'pg_male_all')
    647657        self.assertEqual(error, None)
    648658
Note: See TracChangeset for help on using the changeset viewer.