Ignore:
Timestamp:
13 Nov 2014, 14:40:27 (10 years ago)
Author:
Henrik Bettermann
Message:

Change of name.

Location:
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
Files:
1 edited
1 moved

Legend:

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

    r9672 r11949  
    1111from zope.component.hooks import setSite
    1212from zope.interface.verify import verifyClass, verifyObject
    13 from waeup.kofa.interfaces import IJobManager, IKofaPluggable
    14 from waeup.kofa.reports import (
     13from waeup.ikoba.interfaces import IJobManager, IIkobaPluggable
     14from waeup.ikoba.reports import (
    1515    IReport, IReportGenerator, IReportJob, IReportJobContainer,
    1616    IReportsContainer,)
    17 from waeup.kofa.reports import (
     17from waeup.ikoba.reports import (
    1818    Report, ReportGenerator, get_generators, report_job, AsyncReportJob,
    1919    ReportJobContainer, ReportsContainer, ReportsContainerPlugin)
    20 from waeup.kofa.testing import FakeJob, FakeJobManager, FunctionalLayer
    21 from waeup.kofa.tests.test_async import FunctionalAsyncTestCase
     20from waeup.ikoba.testing import FakeJob, FakeJobManager, FunctionalLayer
     21from waeup.ikoba.tests.test_async import FunctionalAsyncTestCase
    2222
    2323class FakeReportGenerator(ReportGenerator):
     
    7777class ReportGeneratorTest(unittest.TestCase):
    7878    def setUp(self):
    79         grok.testing.grok('waeup.kofa.reports') # register utils
     79        grok.testing.grok('waeup.ikoba.reports') # register utils
    8080
    8181    def test_iface(self):
     
    117117
    118118    def setUp(self):
    119         grok.testing.grok('waeup.kofa.reports') # register utils
     119        grok.testing.grok('waeup.ikoba.reports') # register utils
    120120        super(HelpersTests, self).setUp()
    121121        return
     
    361361    def create_logger(self):
    362362        # create a logger suitable for local tests.
    363         test_logger = logging.getLogger('waeup.kofa.reports.testlogger')
     363        test_logger = logging.getLogger('waeup.ikoba.reports.testlogger')
    364364        log = StringIO()
    365365        handler = logging.StreamHandler(log)
     
    393393        # make sure we fullfill the promised interfaces
    394394        obj = ReportsContainerPlugin()
    395         verifyClass(IKofaPluggable, ReportsContainerPlugin)
    396         verifyObject(IKofaPluggable, obj)
     395        verifyClass(IIkobaPluggable, ReportsContainerPlugin)
     396        verifyObject(IIkobaPluggable, obj)
    397397        return
    398398
    399399    def test_get_as_utility(self):
    400400        # make sure we can get the plugin as utility
    401         grok.testing.grok('waeup.kofa.reports')
    402         util = getUtility(IKofaPluggable, name='reports')
     401        grok.testing.grok('waeup.ikoba.reports')
     402        util = getUtility(IIkobaPluggable, name='reports')
    403403        self.assertTrue(util is not None)
    404404        return
Note: See TracChangeset for help on using the changeset viewer.