Ignore:
Timestamp:
30 May 2013, 21:37:46 (12 years ago)
Author:
Henrik Bettermann
Message:

Ensure that all exports are being discarded in tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r10257 r10258  
    31673167        self.assertFalse('<option value="students">' in self.browser.contents)
    31683168        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.