Changeset 9039 for main/waeup.kofa
- Timestamp:
- 21 Jul 2012, 17:09:05 (12 years ago)
- 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
r8884 r9039 1 1 matric_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 2 2 ,paid,schoolfee,3816951290797973744#,1,2010,19500,BTECHBDT,19500,0942,00,2010/11/26 19:59:33.744 GMT+1,online 3 100001,unpaid,schoolfee,3816951290712593757,,2010,0,BTECHBDT,19500,0942,Z0,2010-11-25 20:16:33.757 GMT+1,online3 100001,unpaid,schoolfee,3816951290712593757,,2010,0,BTECHBDT,19500,0942,Z0,2010-11-25 20:16:33.757 WAT,online 4 4 ,paid,schoolfee,p1266236341955,3,2009,19500,BTECHBDT,19500,0615,00,2010/02/15 13:19:01,online -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py
r9037 r9039 918 918 self.assertEqual(cdate, "2010-11-26 18:59:33") 919 919 self.assertEqual(str(payment.creation_date.tzinfo),'UTC') 920 payment = self.processor.getEntry(dict(matric_number='100001', 921 p_id='p2907125937570'), self.app) 922 self.assertEqual(payment.p_id, 'p2907125937570') 923 cdate = payment.creation_date.strftime("%Y-%m-%d %H:%M:%S") 924 # Ooooh, still the old problem, see 925 # http://mail.dzug.org/mailman/archives/zope/2006-August/001153.html. 926 # WAT is interpreted as GMT-1 and not GMT+1 927 self.assertEqual(cdate, "2010-11-25 21:16:33") 928 self.assertEqual(str(payment.creation_date.tzinfo),'UTC') 920 929 shutil.rmtree(os.path.dirname(fin_file)) 921 930 logcontent = open(self.logfile).read()
Note: See TracChangeset for help on using the changeset viewer.