Changeset 5075
- Timestamp:
- 24 Mar 2010, 09:30:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/tests/test_waeup.py
r4920 r5075 5 5 """ 6 6 import grok 7 import re 7 8 import zope.component.eventtesting 9 from zope.testing import renormalizing 8 10 from waeup.sirp.testing import FunctionalLayer 9 11 … … 11 13 zope.component.eventtesting.setUp(test) 12 14 15 checker = renormalizing.RENormalizing([ 16 (re.compile('[\d]{10}'), '<10-DIGITS>'), 17 ]) 18 13 19 # Register all tests in the waeup_ng package 14 20 test_suite = grok.testing.register_all_tests( 15 'waeup.sirp', usetup=setUpZope,21 'waeup.sirp', checker=checker, usetup=setUpZope, 16 22 layer=FunctionalLayer)
Note: See TracChangeset for help on using the changeset viewer.