Changeset 9425 for main/waeup.kofa/trunk


Ignore:
Timestamp:
26 Oct 2012, 17:54:29 (12 years ago)
Author:
Henrik Bettermann
Message:

We often need 6 digits for testing exports.

File:
1 edited

Legend:

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

    r9343 r9425  
    283283#:    numbers if you don't know the exact (random) code.
    284284#:
     285#: `<6-DIGITS>`
     286#:    matches a sequence of 10 digits. Useful when checking accesscode
     287#:    numbers if you don't know the exact (random) code.
     288#:
    285289#: `<YYYY-MM-DD hh:mm:ss>`
    286290#:    matches any date and time like `2011-05-01 12:01:32`.
     
    295299    (re.compile(r'.*1034h'), ''),
    296300    (re.compile(r'httperror_seek_wrapper:'), 'HTTPError:' ),
     301    (re.compile('[\d]{6}'), '<6-DIGITS>'),
    297302    (re.compile('[\d]{10}'), '<10-DIGITS>'),
    298303    (re.compile('\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d [\+\-]\d\d\d\d [^ ]+'),
Note: See TracChangeset for help on using the changeset viewer.