Changeset 7421 for main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests
- Timestamp:
- 21 Dec 2011, 11:00:19 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_applicantcopier.py
r7412 r7421 91 91 self.assertEqual(self.browser.headers['Content-Type'], 92 92 'application/pdf') 93 # Has the student been properly indexed? 94 # Yes, we can find the student in department 95 self.browser.open('http://localhost/app/students') 96 self.browser.getControl(name="searchtype").value = ['depcode'] 97 self.browser.getControl(name="searchterm").value = 'dep1' 98 self.browser.getControl("Search").click() 99 self.assertMatches('...John Tester...', self.browser.contents) 93 100 94 101 def test_copier_wo_passport(self): -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7408 r7421 96 96 self.certificate = certificate 97 97 self.app['faculties']['fac1'] = Faculty() 98 self.app['faculties']['fac1']['dep1'] = Department() 98 # The code has explicitely to be set, otherwise we don't 99 # find created students in their department 100 self.app['faculties']['fac1']['dep1'] = Department(code='dep1') 99 101 self.department = self.app['faculties']['fac1']['dep1'] 100 102 self.app['faculties']['fac1']['dep1'].certificates.addCertificate(
Note: See TracChangeset for help on using the changeset viewer.