- Timestamp:
- 6 Oct 2015, 04:25:35 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r13280 r13282 1334 1334 if results: 1335 1335 applicant = results[0] 1336 if applicant.lastname.lower() != lastname.lower():1336 if applicant.lastname.lower().strip() != lastname.lower(): 1337 1337 # Don't tell the truth here. Anonymous must not 1338 1338 # know that a record was found and only the lastname -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r13280 r13282 1386 1386 1387 1387 def test_check_status(self): 1388 self.applicant.lastname = u'Lion '1388 self.applicant.lastname = u'Lion ' 1389 1389 self.browser.open('http://localhost/app/applicants/checkstatus') 1390 1390 self.browser.getControl(name="applicant_id").value = 'nonsense' … … 1404 1404 self.browser.open('http://localhost/app/applicants/checkstatus') 1405 1405 self.browser.getControl(name="applicant_id").value = self.applicant.applicant_id 1406 # whitespaces are ignored 1406 1407 self.browser.getControl(name="lastname").value = 'Lion' 1407 1408 self.browser.getControl("Submit").click()
Note: See TracChangeset for help on using the changeset viewer.