Ignore:
Timestamp:
6 Apr 2016, 11:25:10 (9 years ago)
Author:
Henrik Bettermann
Message:

Do not import deprecated DatedRotatingFileHandler?.

See r13776.

File:
1 edited

Legend:

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

    r11954 r13810  
    2929
    3030from waeup.ikoba.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.