Changeset 8778


Ignore:
Timestamp:
23 Jun 2012, 05:26:09 (12 years ago)
Author:
Henrik Bettermann
Message:

Fix typo and remove useless test.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r8773 r8778  
    498498    """Representation of an applicant for first-time registration.
    499499
    500     This interface is used when apllicants use the registration page to
     500    This interface is used when applicants use the registration page to
    501501    update their records.
    502502    """
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r8708 r8778  
    999999        return
    10001000
    1001     def test_register_applicant_wo_phone(self):
    1002         # We don't require the phone number when registering
    1003         self.browser.open(self.container_path)
    1004         self.browser.getLink("Register for application").click()
    1005         # Fill the edit form with suitable values
    1006         self.browser.getControl(name="form.firstname").value = 'John'
    1007         self.browser.getControl(name="form.lastname").value = 'Tester'
    1008         self.browser.getControl(name="form.email").value = 'xx@yy.zz'
    1009         self.browser.getControl("Get login credentials").click()
    1010         self.assertEqual(self.browser.url,
    1011             self.container_path + '/registration_complete?email=xx%40yy.zz')
    1012         return
    1013 
    10141001    def test_change_password_request(self):
    1015         self.browser.open('http://localhost/app/sendpw')
     1002        self.browser.open('http://localhost/app/changepw')
    10161003        self.browser.getControl(name="form.identifier").value = '1234'
    10171004        self.browser.getControl(name="form.email").value = 'aa@aa.ng'
     
    10211008        # Update the catalog
    10221009        notify(grok.ObjectModifiedEvent(self.applicant))
    1023         self.browser.open('http://localhost/app/sendpw')
     1010        self.browser.open('http://localhost/app/changepw')
    10241011        self.browser.getControl(name="form.identifier").value = '1234'
    10251012        self.browser.getControl(name="form.email").value = 'aa@aa.ng'
Note: See TracChangeset for help on using the changeset viewer.