source: main/waeup.sirp/trunk/src/waeup/sirp/tests/test_waeup.py @ 6543

Last change on this file since 6543 was 6340, checked in by Henrik Bettermann, 14 years ago

Source titles should have an initial capital letter to conform with the zope.formlib convention. This is easier than patching the zope.formlib (and its translations).

  • Property svn:eol-style set to native
File size: 553 bytes
Line 
1##
2## test_waeuptest.py
3"""
4Test setup for the waeup.sirp package.
5"""
6import grok
7import re
8import zope.component.eventtesting
9from zope.testing import renormalizing
10from waeup.sirp.testing import FunctionalLayer
11
12def setUpZope(test):
13    zope.component.eventtesting.setUp(test)
14
15checker = renormalizing.RENormalizing([
16        (re.compile('[\d]{10}'), '<10-DIGITS>'),
17        ])
18
19# Register all tests in the waeup_ng package
20test_suite = grok.testing.register_all_tests(
21    'waeup.sirp', checker=checker, usetup=setUpZope,
22    layer=FunctionalLayer)
Note: See TracBrowser for help on using the repository browser.