Changeset 9795 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 10 Dec 2012, 06:46:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9770 r9795 368 368 self.assertTrue('Anna Tester' in self.browser.contents) 369 369 # The old searchterm will be used again 370 self.browser.getControl("Search").click() 371 self.assertTrue('Anna Tester' in self.browser.contents) 372 373 # We can find suspended students 374 self.student.suspended = True 375 notify(grok.ObjectModifiedEvent(self.student)) 376 self.browser.open(self.manage_container_path) 377 self.browser.getControl(name="searchtype").value = ['suspended'] 378 self.browser.getControl("Search").click() 379 self.assertTrue('Anna Tester' in self.browser.contents) 380 self.browser.open(self.container_path) 381 self.browser.getControl(name="searchtype").value = ['suspended'] 370 382 self.browser.getControl("Search").click() 371 383 self.assertTrue('Anna Tester' in self.browser.contents) … … 845 857 logcontent = open(logfile).read() 846 858 self.assertTrue( 847 '"zope.mgr",K1000000,%s,schoolfee,40000.0,AP,,,,,, ,,,,,,\n' % value859 '"zope.mgr",K1000000,%s,schoolfee,40000.0,AP,,,,,,\n' % value 848 860 in logcontent) 849 861
Note: See TracChangeset for help on using the changeset viewer.