Changeset 9531 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 4 Nov 2012, 21:51:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r9398 r9531 19 19 Test the applicant-related UI components. 20 20 """ 21 import os 21 22 import pytz 22 23 import shutil … … 370 371 self.assertEqual(self.browser.headers['Status'], '200 Ok') 371 372 self.assertEqual(self.browser.url, self.manage_container_path) 373 self.browser.getControl(name="form.application_fee").value = '200' 372 374 self.browser.getControl("Save").click() 373 375 self.assertTrue('Form has been saved' in self.browser.contents) 376 logfile = os.path.join( 377 self.app['datacenter'].storage, 'logs', 'applicants.log') 378 logcontent = open(logfile).read() 379 self.assertTrue( 380 'zope.mgr - applicants.browser.ApplicantsContainerManageFormPage - ' 381 'app2010 - saved: application_fee\n' in logcontent) 374 382 self.browser.getControl("Remove selected", index=0).click() 375 383 self.assertTrue('No applicant selected' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.