Ignore:
Timestamp:
6 Oct 2015, 04:25:35 (9 years ago)
Author:
Henrik Bettermann
Message:

Ignore trailing whitespaces when comparing lastname.

File:
1 edited

Legend:

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

    r13280 r13282  
    13861386
    13871387    def test_check_status(self):
    1388         self.applicant.lastname = u'Lion'
     1388        self.applicant.lastname = u'Lion '
    13891389        self.browser.open('http://localhost/app/applicants/checkstatus')
    13901390        self.browser.getControl(name="applicant_id").value = 'nonsense'
     
    14041404        self.browser.open('http://localhost/app/applicants/checkstatus')
    14051405        self.browser.getControl(name="applicant_id").value = self.applicant.applicant_id
     1406        # whitespaces are ignored
    14061407        self.browser.getControl(name="lastname").value = 'Lion'
    14071408        self.browser.getControl("Submit").click()
Note: See TracChangeset for help on using the changeset viewer.