Ignore:
Timestamp:
21 Nov 2012, 22:37:03 (12 years ago)
Author:
Henrik Bettermann
Message:

Rework logging of batch processing. Remove redundant text but add name of import file.

File:
1 edited

Legend:

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

    r9283 r9706  
    111111        logcontent = open(self.logfile).read()
    112112        self.assertTrue(
    113             'system - AccessCodeBatch Processor - CLR-1 - '
    114             'Batch updated: num=1, creator=system, used_num=1, '
     113            'system - AccessCodeBatch Processor - sample_batch_data - '
     114            'CLR-1 - updated: '
     115            'num=1, creator=system, used_num=1, '
    115116            'entry_num=3, creation_date=2012-04-28 07:28:48.719026+00:00, '
    116117            'prefix=CLR, cost=0.0, disabled_num=0'
     
    167168        logcontent = open(self.logfile).read()
    168169        self.assertTrue(
    169             'INFO - system - AccessCode Processor - CLR-1-1625368961 - '
    170             'AC updated: state=used, batch_serial=33, random_num=1625368961, '
     170            'INFO - system - AccessCode Processor - sample_ac_data - '
     171            'CLR-1-1625368961 - updated: state=used, '
     172            'batch_serial=33, random_num=1625368961, '
    171173            'cost=100.0, owner=K1000009'
    172174            in logcontent)
Note: See TracChangeset for help on using the changeset viewer.