Ignore:
Timestamp:
30 Oct 2014, 21:20:11 (10 years ago)
Author:
Henrik Bettermann
Message:

Configure third semester payment in setPaymentDetails. Session configuration field is is no longer needed.

File:
1 edited

Legend:

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

    r11913 r11919  
    8484    def test_manage_payments(self):
    8585        # Add missing configuration data
    86         self.app['configuration']['2004'].third_semester_fee = 90.0
    8786        self.app['configuration']['2004'].clearance_fee = 120.0
    8887        self.app['configuration']['2004'].booking_fee = 150.0
     
    214213
    215214    def test_set_payment_details(self):
    216         self.app['configuration']['2004'].third_semester_fee = 90.0
    217215        self.app['configuration']['2004'].booking_fee = 150.0
    218216        self.app['configuration']['2004'].maint_fee = 180.0
     
    289287        self.assertEqual(payment.p_level, 100)
    290288        self.assertEqual(payment.p_session, 2004)
    291         self.assertEqual(payment.amount_auth, 240.0)
     289        self.assertEqual(payment.amount_auth, 6913.0)
    292290        self.assertEqual(payment.p_item, u'')
    293291        self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.