Ignore:
Timestamp:
25 Nov 2011, 14:10:21 (13 years ago)
Author:
Henrik Bettermann
Message:

Use same naming convention as in students: manage instead of edit_full, ApplicantDisplayFormPage? intead of DisplayApplicant?, ...

Rename pagetemplates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py

    r7193 r7200  
    290290        self.applicant_path = 'http://localhost/app/applicants/app2009/%s' % self.pin_applicant
    291291        self.applicant_view_path = self.applicant_path + '/index'
    292         self.applicant_manage_path = self.applicant_path + '/edit_full'
     292        self.applicant_manage_path = self.applicant_path + '/manage'
    293293        self.applicant_slip_path = self.applicant_path + '/application_slip.pdf'
    294294        self.browser.open(self.applicant_manage_path)
     
    603603        self.edit_path = 'http://localhost/app/applicants/app2009/%s/edit' % (
    604604            self.pin)
    605         self.edit_full_path = 'http://localhost/app/applicants/%s/%s/%s' % (
    606             'app2009', self.pin, 'edit_full')
     605        self.manage_path = 'http://localhost/app/applicants/%s/%s/%s' % (
     606            'app2009', self.pin, 'manage')
    607607
    608608    def tearDown(self):
     
    773773        # Now go on as an officer
    774774        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    775         self.browser.open(self.edit_full_path)
     775        self.browser.open(self.manage_path)
    776776
    777777        # Create a pseudo image file and select it to be uploaded in form
     
    848848        # Login as manager and lock the form
    849849        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    850         self.browser.open(self.edit_full_path)
     850        self.browser.open(self.manage_path)
    851851        self.browser.getControl(name="form.locked").value = True
    852852        self.browser.getControl("Save").click()
Note: See TracChangeset for help on using the changeset viewer.