- Timestamp:
- 13 Nov 2014, 16:54:17 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_batching.py
r11952 r11954 30 30 from zope.component.interfaces import IFactory 31 31 from zope.interface import Interface, implements, verify 32 from waeup.ikoba.app import Institution32 from waeup.ikoba.app import Company 33 33 from waeup.ikoba.interfaces import ( 34 34 ICSVExporter, IBatchProcessor, IExportJobContainer, IJobManager, … … 137 137 138 138 # Setup a sample site for each test 139 app = Institution()139 app = Company() 140 140 self.dc_root = tempfile.mkdtemp() 141 141 app['datacenter'].setStoragePath(self.dc_root) … … 597 597 def test_active_site(self): 598 598 # we get the datafinder if one is installed and site set 599 self.getRootFolder()['app'] = Institution()599 self.getRootFolder()['app'] = Company() 600 600 finder = getUtility(IExportContainerFinder) 601 601 setSite(self.getRootFolder()['app']) … … 606 606 def test_broken_site(self): 607 607 # if the current site has no ExportContainer, we get None 608 self.getRootFolder()['app'] = Institution()608 self.getRootFolder()['app'] = Company() 609 609 app = self.getRootFolder()['app'] 610 610 del app['datacenter'] # datacenter _is_ the export container -
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_converters.py
r11952 r11954 32 32 Interface, implements, invariant, Invalid, implementedBy, verify) 33 33 34 from waeup.ikoba.app import Institution34 from waeup.ikoba.app import Company 35 35 from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase 36 36 from waeup.ikoba.interfaces import ( … … 155 155 156 156 # Setup a sample site for each test 157 app = Institution()157 app = Company() 158 158 self.dc_root = tempfile.mkdtemp() 159 159 app['datacenter'].setStoragePath(self.dc_root) -
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_logger.py
r11952 r11954 25 25 from zope.component.hooks import setSite, clearSite 26 26 from zope.interface.verify import verifyClass, verifyObject 27 from waeup.ikoba.app import Institution27 from waeup.ikoba.app import Company 28 28 from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase 29 29 … … 49 49 super(LoggersTests, self).setUp() 50 50 # Setup a sample site for each test 51 app = Institution()51 app = Company() 52 52 self.dc_root = tempfile.mkdtemp() 53 53 self.dc_root2 = None … … 223 223 224 224 # Setup a sample site for each test 225 app = Institution()225 app = Company() 226 226 self.dc_root = tempfile.mkdtemp() 227 227 app['datacenter'].setStoragePath(self.dc_root) … … 281 281 super(LoggerCollectorTests, self).setUp() 282 282 # Setup a sample site for each test 283 app = Institution()283 app = Company() 284 284 self.dc_root = tempfile.mkdtemp() 285 285 app['datacenter'].setStoragePath(self.dc_root) … … 377 377 super(LogfileChangeTests, self).setUp() 378 378 # Setup a sample site for each test 379 app = Institution()379 app = Company() 380 380 self.dc_root = tempfile.mkdtemp() 381 381 self.dc_root_new = None
Note: See TracChangeset for help on using the changeset viewer.