Ignore:
Timestamp:
11 Mar 2016, 11:45:01 (9 years ago)
Author:
Henrik Bettermann
Message:

Do not import deprecated DatedRotatingFileHandler?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_logger.py

    r9988 r13776  
    2929
    3030from waeup.kofa.utils.logger import (
    31     Logger, MAX_BYTES, BACKUP_COUNT, ILoggerCollector, LoggerCollector,
     31    Logger, ILoggerCollector, LoggerCollector,
    3232    ILogger)
    3333
     
    162162        self.assertEqual(len(result.handlers), 1)
    163163        handler = result.handlers[0]
    164         if hasattr(handler, 'maxBytes'):
    165             self.assertEqual(handler.maxBytes, MAX_BYTES)
    166         if hasattr(handler, 'backupCount'):
    167             self.assertEqual(handler.backupCount, BACKUP_COUNT)
    168164        self.assertTrue(result.propagate is False)
    169165        return
Note: See TracChangeset for help on using the changeset viewer.