1
##############################################################################
3
# Copyright (c) 2004 Zope Corporation and Contributors.
6
# This software is subject to the provisions of the Zope Public License,
7
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
8
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
# FOR A PARTICULAR PURPOSE.
13
##############################################################################
14
"""Test harness for scripts.
16
$Id: test_doc.py 106171 2009-12-02 12:51:46Z gotcha $
20
from zope.testing import doctest, renormalizing
21
import ZODB.tests.util
23
checker = renormalizing.RENormalizing([
24
(re.compile('[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]+'),
25
'2007-11-10 15:18:48.543001'),
26
(re.compile('hash=[0-9a-f]{40}'),
27
'hash=b16422d09fabdb45d4e4325e4b42d7d6f021d3c3')])
30
return unittest.TestSuite((
32
'referrers.txt', 'fstail.txt',
33
setUp=ZODB.tests.util.setUp, tearDown=ZODB.tests.util.tearDown,