Changeset 16116 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 11 Jun 2020, 15:22:24 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r16064 r16116 1539 1539 'password is: <strong>%s</strong>' % self.applicant.application_number 1540 1540 in self.browser.contents) 1541 1541 1542 def test_check_transcript_status(self): 1543 self.applicant.email = 'aa@aa.aa' 1544 self.browser.open('http://localhost/app/applicants/checktranscript') 1545 self.browser.getControl(name="unique_id").value = 'nonsense' 1546 self.browser.getControl(name="email").value = 'aa@aa.aa' 1547 self.browser.getControl("Check status now").click() 1548 # Here the test fails because it seems that 1549 # xmlrpclib.ServerProxy can't be 1550 # used in tests even if we use 1551 # zope.app.testing.xmlrpc import ServerProxy with correct 1552 # URL. Any idea Uli? 1553 self.assertTrue('No student record was found in Kofa' 1554 in self.browser.contents) 1555 self.browser.getControl( 1556 name="unique_id").value = self.applicant.applicant_id 1557 self.browser.getControl(name="email").value = 'aa@aa.aa' 1558 self.browser.getControl("Check status now").click() 1542 1559 1543 1560 class ApplicantsExportTests(ApplicantsFullSetup, FunctionalAsyncTestCase):
Note: See TracChangeset for help on using the changeset viewer.