Changeset 8186 for main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests
- Timestamp:
- 17 Apr 2012, 00:31:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_accesscode.py
r8182 r8186 233 233 # Access codes have a history. 234 234 match = re.match( 235 '^....-..-.. ..:..:.. - initialized by system',235 '^....-..-.. ..:..:.. ..... .+ - initialized by system', 236 236 self.ac1.history) 237 237 assert match is not None … … 301 301 "prefix","serial","ac","state","history" 302 302 "FOO","9.99","1","0" 303 "FOO","0","FOO-1-11111111","used","<YYYY-MM-DD hh:mm:ss > - ..."304 "FOO","1","FOO-1-22222222","initialized","<YYYY-MM-DD hh:mm:ss > - ..."305 "FOO","2","FOO-1-33333333","disabled","<YYYY-MM-DD hh:mm:ss > - ..."303 "FOO","0","FOO-1-11111111","used","<YYYY-MM-DD hh:mm:ss TZ> - ..." 304 "FOO","1","FOO-1-22222222","initialized","<YYYY-MM-DD hh:mm:ss TZ> - ..." 305 "FOO","2","FOO-1-33333333","disabled","<YYYY-MM-DD hh:mm:ss TZ> - ..." 306 306 '''[1:] 307 307 contents = open(result_path, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.