Ignore:
Timestamp:
13 Nov 2014, 16:54:17 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove tools.

rename institution company.

Remove some apis from docs.

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  
    3030from zope.component.interfaces import IFactory
    3131from zope.interface import Interface, implements, verify
    32 from waeup.ikoba.app import Institution
     32from waeup.ikoba.app import Company
    3333from waeup.ikoba.interfaces import (
    3434    ICSVExporter, IBatchProcessor, IExportJobContainer, IJobManager,
     
    137137
    138138        # Setup a sample site for each test
    139         app = Institution()
     139        app = Company()
    140140        self.dc_root = tempfile.mkdtemp()
    141141        app['datacenter'].setStoragePath(self.dc_root)
     
    597597    def test_active_site(self):
    598598        # we get the datafinder if one is installed and site set
    599         self.getRootFolder()['app'] = Institution()
     599        self.getRootFolder()['app'] = Company()
    600600        finder = getUtility(IExportContainerFinder)
    601601        setSite(self.getRootFolder()['app'])
     
    606606    def test_broken_site(self):
    607607        # if the current site has no ExportContainer, we get None
    608         self.getRootFolder()['app'] = Institution()
     608        self.getRootFolder()['app'] = Company()
    609609        app = self.getRootFolder()['app']
    610610        del app['datacenter'] # datacenter _is_ the export container
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_converters.py

    r11952 r11954  
    3232    Interface, implements, invariant, Invalid, implementedBy, verify)
    3333
    34 from waeup.ikoba.app import Institution
     34from waeup.ikoba.app import Company
    3535from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase
    3636from waeup.ikoba.interfaces import (
     
    155155
    156156        # Setup a sample site for each test
    157         app = Institution()
     157        app = Company()
    158158        self.dc_root = tempfile.mkdtemp()
    159159        app['datacenter'].setStoragePath(self.dc_root)
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_logger.py

    r11952 r11954  
    2525from zope.component.hooks import setSite, clearSite
    2626from zope.interface.verify import verifyClass, verifyObject
    27 from waeup.ikoba.app import Institution
     27from waeup.ikoba.app import Company
    2828from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase
    2929
     
    4949        super(LoggersTests, self).setUp()
    5050        # Setup a sample site for each test
    51         app = Institution()
     51        app = Company()
    5252        self.dc_root = tempfile.mkdtemp()
    5353        self.dc_root2 = None
     
    223223
    224224        # Setup a sample site for each test
    225         app = Institution()
     225        app = Company()
    226226        self.dc_root = tempfile.mkdtemp()
    227227        app['datacenter'].setStoragePath(self.dc_root)
     
    281281        super(LoggerCollectorTests, self).setUp()
    282282        # Setup a sample site for each test
    283         app = Institution()
     283        app = Company()
    284284        self.dc_root = tempfile.mkdtemp()
    285285        app['datacenter'].setStoragePath(self.dc_root)
     
    377377        super(LogfileChangeTests, self).setUp()
    378378        # Setup a sample site for each test
    379         app = Institution()
     379        app = Company()
    380380        self.dc_root = tempfile.mkdtemp()
    381381        self.dc_root_new = None
Note: See TracChangeset for help on using the changeset viewer.