Changeset 9823
- Timestamp:
- 22 Dec 2012, 09:42:58 (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/students/tests/test_browser.py
r9820 r9823 2762 2762 'text/csv; charset=UTF-8') 2763 2763 self.assertTrue( 2764 'filename=" students.csv' in2764 'filename="WAeUP.Kofa_students.csv' in 2765 2765 self.browser.headers['content-disposition']) 2766 2766 self.assertEqual(len(self.app['datacenter'].running_exports), 1) … … 2771 2771 self.assertEqual(len(self.app['datacenter'].running_exports), 0) 2772 2772 # Creation, downloading and discarding is logged 2773 #logfile = os.path.join( 2774 # self.app['datacenter'].storage, 'logs', 'datacenter.log') 2775 #logcontent = open(logfile).read() 2773 logfile = os.path.join( 2774 self.app['datacenter'].storage, 'logs', 'datacenter.log') 2775 logcontent = open(logfile).read() 2776 self.assertTrue( 2777 'INFO - zope.mgr - students.browser.ExportJobContainerDownload - ' 2778 'exported: WAeUP.Kofa_students.csv' 2779 ) -
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r9816 r9823 747 747 del self._site_container.running_exports 748 748 749 @property 750 def logger(self): 751 return self._site_container.logger 749 752 750 753 @implementer(IExportContainerFinder)
Note: See TracChangeset for help on using the changeset viewer.