Ignore:
Timestamp:
22 Feb 2016, 08:20:08 (9 years ago)
Author:
Henrik Bettermann
Message:

Instalment payment: students must pay the full gateway amount twice.

File:
1 edited

Legend:

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

    r13678 r13720  
    220220        self.assertEqual(self.student['payments'].values()[0].p_category, 'schoolfee_1')
    221221        self.assertEqual(self.student['payments'].values()[1].p_category, 'schoolfee_2')
    222         # 6666/2 + 1250 + 750 - 500
    223         self.assertEqual(self.student['payments'].values()[0].amount_auth, 4833.0)
    224         # 6666/2
    225         self.assertEqual(self.student['payments'].values()[1].amount_auth, 3333.0)
     222        # (6666-250)/2 + 1250 + 750 - 500 + 250
     223        self.assertEqual(self.student['payments'].values()[0].amount_auth, 4958.0)
     224        # (6666-250)/2 + 250
     225        self.assertEqual(self.student['payments'].values()[1].amount_auth, 3458.0)
    226226        return
    227227
Note: See TracChangeset for help on using the changeset viewer.