- Timestamp:
- 29 May 2015, 06:03:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
r13018 r13022 50 50 def setUp(self): 51 51 super(InterswitchTestsStudents, self).setUp() 52 self.certificate.study_mode = ' nce_ft'52 self.certificate.study_mode = 'pd_ft' 53 53 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 54 54 self.browser.open(self.payments_path) … … 65 65 self.browser.contents) 66 66 self.assertTrue( 67 '<span> 14975.0</span>' in self.browser.contents)67 '<span>35450.0</span>' in self.browser.contents) 68 68 self.payment_url = self.browser.url 69 69 self.payment = self.student['payments'][self.value] … … 95 95 self.browser.contents) 96 96 self.assertTrue( 97 '<input type="hidden" name="amount" value=" 1497500" />'98 in self.browser.contents) 99 self.assertTrue( 100 'item_name="School Fee" item_amt=" 1182500" bank_id="117" acct_num="1013780934"'97 '<input type="hidden" name="amount" value="3545000" />' 98 in self.browser.contents) 99 self.assertTrue( 100 'item_name="School Fee" item_amt="3230000" bank_id="117" acct_num="1013780934"' 101 101 in self.browser.contents) 102 102 self.assertTrue( … … 108 108 109 109 # Third semester payment 110 self.certificate.study_mode = 'nce_ft' 110 111 self.app['configuration']['2004'].third_semester_fee = 10000.0 111 112 self.browser.open(self.payments_path) … … 253 254 self.assertMatches('...Total Amount Authorized:...', 254 255 self.browser.contents) 255 self.assertEqual(self.student.current_mode, ' nce_ft')256 self.assertEqual(self.student.current_mode, 'pd_ft') 256 257 self.assertMatches( 257 258 '...<input type="hidden" name="amount" value="4000000" />...',
Note: See TracChangeset for help on using the changeset viewer.