- Timestamp:
- 30 May 2012, 19:33:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8525 r8564 368 368 self.browser.getControl("Cancel", index=0).click() 369 369 self.assertEqual(self.browser.url, self.container_path) 370 return 371 372 def test_statistics(self): 373 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 374 self.browser.open(self.container_path) 375 self.browser.getLink("Container statistics").click() 376 self.assertTrue('<td>initialized</td>' in self.browser.contents) 377 self.assertTrue('<td>1</td>' in self.browser.contents) 378 self.assertEqual(self.applicantscontainer.statistics, 379 {'not admitted': 0, 'started': 0, 'created': 0, 380 'admitted': 0, 'submitted': 0, 'initialized': 1, 'paid': 0}) 370 381 return 371 382
Note: See TracChangeset for help on using the changeset viewer.