Ignore:
Timestamp:
23 Jun 2011, 09:59:54 (14 years ago)
Author:
uli
Message:

Use other replacement for dates.

File:
1 edited

Legend:

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

    r6464 r6466  
    198198#:    numbers if you don't know the exact (random) code.
    199199#:
    200 #: `<YYYY-MM-DD HH:MM:SS>`
     200#: `<YYYY-MM-DD hh:mm:ss>`
    201201#:    matches any date and time like `2011-05-01 12:01:32`.
    202202#:
    203203#: `<DATE-AND-TIME>`
    204 #:    same like ``<YYYY-MM-DD HH:MM:SS>`` but shorter.
     204#:    same like ``<YYYY-MM-DD hh:mm:ss>`` but shorter.
    205205checker = renormalizing.RENormalizing([
    206206    # Relevant normalizers from zope.testing.testrunner.tests:
     
    211211    (re.compile(r'httperror_seek_wrapper:'), 'HTTPError:' ),
    212212    (re.compile('[\d]{10}'), '<10-DIGITS>'),
    213     (re.compile('\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d'), '<YYYY-MM-DD HH:MM:SS>'),
    214     (re.compile('\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d'), '<DATE-AND-TIME>'),
     213    (re.compile('\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d'), '<YYYY-MM-DD hh:mm:ss>'),
     214    (re.compile('\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d'), '<DATETIME>'),
    215215    ])
    216216
Note: See TracChangeset for help on using the changeset viewer.