Ignore:
Timestamp:
25 Jan 2021, 12:37:04 (4 years ago)
Author:
Henrik Bettermann
Message:

Adjust form and buttons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py

    r16382 r16385  
    11691169                           self.browser.contents)
    11701170
    1171     def test_student_medical_history(self):
     1171    def test_student_medical_questionnaire(self):
    11721172        IWorkflowInfo(self.student).fireTransition('admit')
    11731173        self.browser.open(self.login_path)
     
    11781178            '...You logged in...', self.browser.contents)
    11791179        self.browser.getLink("Base Data").click()
    1180         self.browser.getLink("Edit medical history").click()
    1181         self.browser.getLink("Download medical history slip").click()
     1180        self.browser.getLink("Medical Questionnaire").click()
     1181        self.browser.getLink("Download medical questionnaire slip").click()
    11821182        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    11831183        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
    1184         path = os.path.join(samples_dir(), 'medical_history_slip.pdf')
     1184        path = os.path.join(samples_dir(), 'medical_questionnaire_slip.pdf')
    11851185        open(path, 'wb').write(self.browser.contents)
    1186         print "Sample PDF medical_history_slip.pdf written to %s" % path
     1186        print "Sample PDF medical_questionnaire_slip.pdf written to %s" % path
Note: See TracChangeset for help on using the changeset viewer.