Changeset 10258 for main/waeup.kofa/trunk
- Timestamp:
- 30 May 2013, 21:37:46 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_browser.py
r10029 r10258 236 236 'code,title,title_prefix,users_with_local_roles\r\n' 237 237 'fac1,Unnamed Faculty,faculty,[]\r\n') 238 # Thew job can be discarded 239 self.browser.open(self.datacenter_path + '/export') 240 self.browser.getControl("Discard").click() 241 self.assertEqual(len(self.app['datacenter'].running_exports), 0) 238 242 239 243 # after download, the job and the result file are removed … … 287 291 'random_num,representation,state\r\n', 288 292 self.browser.contents) 293 294 # Thew job can be discarded 295 self.browser.open(self.datacenter_path + '/export') 296 self.browser.getControl("Discard").click() 297 self.assertEqual(len(self.app['datacenter'].running_exports), 0) 289 298 290 299 # Login as officer who is not allowed to download accesscodes -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r10257 r10258 3167 3167 self.assertFalse('<option value="students">' in self.browser.contents) 3168 3168 self.assertTrue('<option value="bursary">' in self.browser.contents) 3169 3169 # Thew job can be discarded 3170 self.assertEqual(len(self.app['datacenter'].running_exports), 1) 3171 #job_id = self.app['datacenter'].running_exports[0][0] 3172 job_id = self.wait_for_export_job_completed() 3173 self.browser.open('http://localhost/app/faculties/exports') 3174 self.browser.getControl("Discard").click() 3175 self.assertEqual(len(self.app['datacenter'].running_exports), 0)
Note: See TracChangeset for help on using the changeset viewer.