Ignore:
Timestamp:
4 Apr 2019, 10:57:25 (6 years ago)
Author:
Henrik Bettermann
Message:

Add missing import.

Adjust test.

Location:
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants/payment.py

    r15151 r15386  
    2626from zope.interface import implementedBy
    2727from waeup.kofa.applicants.payment import ApplicantOnlinePayment
     28from waeup.kofa.applicants.workflow import PAID
    2829from waeup.kofa.utils.helpers import attrs_to_fields
    2930from kofacustom.edopoly.applicants.interfaces import ICustomApplicantOnlinePayment
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py

    r15362 r15386  
    7777        self.assertEqual(payment.p_level, 200)
    7878        self.assertEqual(payment.p_session, 2005)
    79         self.assertEqual(payment.amount_auth, 180.0)
     79        self.assertEqual(payment.amount_auth, 16000.0)
    8080        payment.p_state = 'paid'
    8181        self.student['payments']['any_key'] = payment
     
    9191        self.assertEqual(payment.p_level, 100)
    9292        self.assertEqual(payment.p_session, 2004)
    93         self.assertEqual(payment.amount_auth, 170.0)
     93        self.assertEqual(payment.amount_auth, 16000.0)
    9494        payment.p_state = 'paid'
    9595        self.student['payments']['any_key_2'] = payment
Note: See TracChangeset for help on using the changeset viewer.