Changeset 9092
- Timestamp:
- 8 Aug 2012, 14:07:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/utils/tests/test_batching.py
r9090 r9092 23 23 import tempfile 24 24 import unittest 25 from zc.async.interfaces import IJob 25 26 from zope import schema 26 27 from zope.component import provideUtility, getGlobalSiteManager … … 33 34 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 34 35 from waeup.kofa.utils.batching import ( 35 ExporterBase, BatchProcessor, export_job )36 ExporterBase, BatchProcessor, export_job, AsyncExportJob) 36 37 37 38 optionflags = ( … … 368 369 self.assertEqual(contents, SAMPLE_DATA) 369 370 return 371 372 def test_export_job_interfaces(self): 373 # the AsyncExportJob implements promised interfaces correctly... 374 job = AsyncExportJob(None, None) 375 verify.verifyClass(IJob, AsyncExportJob) 376 verify.verifyObject(IJob, job) 377 return
Note: See TracChangeset for help on using the changeset viewer.