Changeset 9466


Ignore:
Timestamp:
30 Oct 2012, 16:51:48 (12 years ago)
Author:
Henrik Bettermann
Message:

Test if we can import floats.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/sample_payment_data.csv

    r9151 r9466  
    11matric_number,p_state,p_category,p_id,reg_number,session_id,r_amount_approved,p_item,amount_auth,r_card_num,r_code,creation_date,type,p_current
    22,paid,schoolfee,3816951290797973744#,1,2010,19500,BTECHBDT,19500,0942,00,2010/11/26 19:59:33.744 GMT+1,online,1
    3 100001,unpaid,schoolfee,3816951290712593757,,2010,0,BTECHBDT,19500,0942,Z0,2010-11-25 20:16:33.757 WAT,online,0
     3100001,unpaid,schoolfee,3816951290712593757,,2010,0,BTECHBDT,19500.1,0942,Z0,2010-11-25 20:16:33.757 WAT,online,0
    44,paid,schoolfee,p1266236341955,3,2009,19500,BTECHBDT,19500,0615,00,2010/02/15 13:19:01,online,1
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py

    r9426 r9466  
    945945            p_id='p2907125937570'), self.app)
    946946        self.assertEqual(payment.p_id, 'p2907125937570')
     947        self.assertEqual(payment.amount_auth, 19500.1)
    947948        self.assertFalse(payment.p_current)
    948949        cdate = payment.creation_date.strftime("%Y-%m-%d %H:%M:%S")
Note: See TracChangeset for help on using the changeset viewer.