Changeset 5139 for main/waeup.sirp


Ignore:
Timestamp:
12 Apr 2010, 14:28:04 (15 years ago)
Author:
uli
Message:

Add a unit test layer, that groks the waeup.sirp package once for
all unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/testing.py

    r4920 r5139  
    77FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
    88                            allow_teardown=True)
     9
     10class WAeUPSIRPUnitTestLayer(object):
     11    """A layer for doctests that groks `waeup.sirp`.
     12    """
     13    @classmethod
     14    def setUp(self):
     15        import grok
     16        grok.testing.grok('waeup.sirp')
     17
     18    @classmethod
     19    def tearDown(self):
     20        pass
Note: See TracChangeset for help on using the changeset viewer.