Ignore:
Timestamp:
14 Sep 2011, 01:56:26 (13 years ago)
Author:
uli
Message:

Use more simple form names, fix nesting errors, etc.

File:
1 edited

Legend:

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

    r6756 r6758  
    311311        student_path = 'http://localhost/app/students/%s' % test_student_id
    312312        self.browser.open(setpassword_path)
    313         self.browser.getControl(name="form.acseries").value = self.existing_series
    314         self.browser.getControl(name="form.acnumber").value = self.existing_number
    315         self.browser.getControl(name="form.reg_number").value = '123456'
     313        self.browser.getControl(name="ac_series").value = self.existing_series
     314        self.browser.getControl(name="ac_number").value = self.existing_number
     315        self.browser.getControl(name="reg_number").value = '123456'
    316316        self.browser.getControl("Show").click()
    317317        self.assertMatches('...Password has been set. Your Student Id is...',
     
    320320        self.browser.open(self.login_path)
    321321        self.browser.getControl(name="form.login").value = test_student_id
    322         self.browser.getControl(name="form.password").value = self.existing_number
     322        self.browser.getControl(
     323            name="form.password").value = self.existing_number
    323324        self.browser.getControl("Login").click()
    324325        self.assertEqual(self.browser.url, student_path)
Note: See TracChangeset for help on using the changeset viewer.