Changeset 17906 for main/kofacustom.unidel
- Timestamp:
- 29 Aug 2024, 06:17:43 (2 months ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py
r17894 r17906 88 88 tech_fee = 0.0 89 89 if self.context.p_category == 'clearance': 90 provider_amt = 500.090 provider_amt = 1000.0 91 91 if student.current_mode in ('ug_ft', 'de_ft'): 92 92 xmldict['institution_acct'] = '1216063205' -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/tests/test_browser.py
r17843 r17906 58 58 self.browser.getLink("Base Data").click() 59 59 ## Unidel changed it's mind again and again 60 #self.assertRaises(61 #LinkNotFoundError,62 #self.browser.getLink, 'Download examination clearance slip')60 self.assertRaises( 61 LinkNotFoundError, 62 self.browser.getLink, 'Download examination clearance slip') 63 63 #self.browser.getLink("Download examination clearance slip").click() 64 64 #self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 65 self.browser.getLink("Base Data").click()66 self.browser.getLink("Download examination clearance slip").click()67 self.assertEqual(self.browser.headers['Status'], '200 Ok')68 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')69 path = os.path.join(samples_dir(), 'examclearance_slip.pdf')70 open(path, 'wb').write(self.browser.contents)71 print "Sample exampclearance_slip.pdf written to %s" % path65 #self.browser.getLink("Base Data").click() 66 #self.browser.getLink("Download examination clearance slip").click() 67 #self.assertEqual(self.browser.headers['Status'], '200 Ok') 68 #self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 69 #path = os.path.join(samples_dir(), 'examclearance_slip.pdf') 70 #open(path, 'wb').write(self.browser.contents) 71 #print "Sample exampclearance_slip.pdf written to %s" % path 72 72 73 73 class LecturerUITests(StudentsFullSetup): -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/tests/test_export.py
r17278 r17906 51 51 'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,' 52 52 'emp_reason,emp_start,employer,employer2,' 53 'final_clearance_date,finally_cleared_by,' 53 54 'financial_clearance_date,financially_cleared_by,' 54 55 'firstname,flash_notice,former_matric,' … … 67 68 'current_level,current_session\r\nmy adm code,,,,' 68 69 '"[(\'printing_craft_practice\', \'A1\')]",my clr code,1981-02-04#,,,' 69 'anna@sample.com,,,,,,,,,,,,, Anna,,,,,,"[(\'printing_craft_practice\', \'A1\')]"'70 'anna@sample.com,,,,,,,,,,,,,,,Anna,,,,,,"[(\'printing_craft_practice\', \'A1\')]"' 70 71 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,,' 71 72 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,,123,,,,,'
Note: See TracChangeset for help on using the changeset viewer.