Ignore:
Timestamp:
17 Apr 2012, 00:31:10 (13 years ago)
Author:
uli
Message:

Use new helper functions to compute pytz timezones correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/tests/test_accesscode.py

    r8182 r8186  
    233233        # Access codes have a history.
    234234        match = re.match(
    235             '^....-..-.. ..:..:.. - initialized by system',
     235            '^....-..-.. ..:..:.. ..... .+ - initialized by system',
    236236            self.ac1.history)
    237237        assert match is not None
     
    301301"prefix","serial","ac","state","history"
    302302"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> - ..."
    306306'''[1:]
    307307        contents = open(result_path, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.