Changeset 8234 for main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests
- Timestamp:
- 20 Apr 2012, 11:27:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_accesscode.py
r8194 r8234 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 … … 300 300 "prefix","serial","ac","state","history" 301 301 "FOO","9.99","1","0" 302 "FOO","0","FOO-1-11111111","used","<YYYY-MM-DD hh:mm:ss TZ>- ..."303 "FOO","1","FOO-1-22222222","initialized","<YYYY-MM-DD hh:mm:ss TZ>- ..."304 "FOO","2","FOO-1-33333333","disabled","<YYYY-MM-DD hh:mm:ss TZ>- ..."302 "FOO","0","FOO-1-11111111","used","<YYYY-MM-DD hh:mm:ss> UTC - ..." 303 "FOO","1","FOO-1-22222222","initialized","<YYYY-MM-DD hh:mm:ss> UTC - ..." 304 "FOO","2","FOO-1-33333333","disabled","<YYYY-MM-DD hh:mm:ss> UTC - ..." 305 305 '''[1:] 306 306 contents = open(result_path, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.