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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/tests/test_app.py

    r11952 r11954  
    2222from zope.component.hooks import setSite
    2323from zope.interface.verify import verifyClass, verifyObject
    24 from waeup.ikoba.app import Institution
     24from waeup.ikoba.app import Company
    2525from waeup.ikoba.interfaces import (
    26     IInstitution, IJobManager, VIRT_JOBS_CONTAINER_NAME)
     26    ICompany, IJobManager, VIRT_JOBS_CONTAINER_NAME)
    2727from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase
    2828
    29 class InstitutionTests(FunctionalTestCase):
     29class CompanyTests(FunctionalTestCase):
    3030
    3131    layer = FunctionalLayer
    3232
    3333    def setUp(self):
    34         super(InstitutionTests, self).setUp()
     34        super(CompanyTests, self).setUp()
    3535        self.workdir = tempfile.mkdtemp()
    36         self.getRootFolder()['app'] = Institution()
     36        self.getRootFolder()['app'] = Company()
    3737        self.app = self.getRootFolder()['app']
    3838        return
    3939
    4040    def tearDown(self):
    41         super(InstitutionTests, self).tearDown()
     41        super(CompanyTests, self).tearDown()
    4242        shutil.rmtree(self.workdir)
    4343        return
    4444
    4545    def test_ifaces(self):
    46         institution = Institution()
    47         assert verifyClass(IInstitution, Institution)
    48         assert verifyObject(IInstitution, institution)
     46        company = Company()
     47        assert verifyClass(ICompany, Company)
     48        assert verifyObject(ICompany, company)
    4949        return
    5050
Note: See TracChangeset for help on using the changeset viewer.