Ignore:
Timestamp:
31 Dec 2024, 13:53:46 (7 days ago)
Author:
Henrik Bettermann
Message:

NUGA LEVY TO BE ADDED TO SCHOOL CHARGES (#1387)

File:
1 edited

Legend:

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

    r17963 r17979  
    605605        self.assertTrue(payment.p_current)
    606606
     607        # Add additional fee
     608        self.certificate.school_fee_3 = 1000.0
     609        error, payment = utils.setPaymentDetails('schoolfee',
     610            self.student, None, None, None)
     611        self.assertEqual(payment.amount_auth, 64000.0)
     612        self.assertEqual(error, None)
     613        self.assertTrue(payment.p_current)
     614
    607615        # Add penalty fee ...
    608616        # ... for cleared
     
    612620        error, payment = utils.setPaymentDetails('schoolfee',
    613621            self.student, None, None, None)
    614         self.assertEqual(payment.amount_auth, 63099.0)
     622        self.assertEqual(payment.amount_auth, 64099.0)
    615623
    616624        IWorkflowState(self.student).setState('returning')
     
    662670        self.assertEqual(payment.p_level, 100)
    663671        self.assertEqual(payment.p_session, 2004)
    664         self.assertEqual(payment.amount_auth, 300099.0)
     672        self.assertEqual(payment.amount_auth, 301099.0)
    665673        self.assertEqual(payment.p_item, u'CERT1')
    666674        self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.