Changeset 7819 for main/waeup.kofa/trunk/src/waeup/kofa/testing.py
- Timestamp:
- 8 Mar 2012, 22:28:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/testing.py
r7817 r7819 163 163 If you use the Zope testrunner (from :mod:`zope.testing`) 164 164 then you have to use appropriate layers like the 165 :class:`waeup.kofa.testing.K OFAUnitTestLayer`.165 :class:`waeup.kofa.testing.KofaUnitTestLayer`. 166 166 167 167 Usage with :mod:`zope.testing` testrunners … … 172 172 like the one defined in this module. 173 173 174 .. seealso:: :class:`waeup.kofa.testing.K OFAUnitTestLayer`174 .. seealso:: :class:`waeup.kofa.testing.KofaUnitTestLayer` 175 175 176 176 """ … … 214 214 return 215 215 216 class K OFAUnitTestLayer(object):216 class KofaUnitTestLayer(object): 217 217 """A layer for tests that groks `waeup.kofa`. 218 218 … … 237 237 238 238 import unittest 239 from waeup.kofa.testing import K OFAUnitTestLayer239 from waeup.kofa.testing import KofaUnitTestLayer 240 240 241 241 class MyTestCase(unittest.TestCase): 242 242 243 layer = K OFAUnitTestLayer243 layer = KofaUnitTestLayer 244 244 245 245 # per-test setups and real tests go here...
Note: See TracChangeset for help on using the changeset viewer.