IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2010, 3:50:36 PM (16 years ago)
Author:
Serge CHASTEL
Message:

Improved unit tests/code coverage. Some refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sc_branches/psps_testing/utilities/psps_logger.py

    r29227 r29235  
    1414
    1515    class __impl(logging.Logger):
    16         """ Implementation of the singleton interface """
     16        """Implementation of the singleton interface"""
    1717        def __init__(self):
    1818            """Sets logging up"""
     
    4040        >>> logger1.debug('This message is not displayed')
    4141        >>> logger2 = PsPsLoggerClass()
    42         >>> logger1.id() == logger2.id()
     42        >>> print logger1.id() == logger2.id()
    4343        True
    4444        >>> logger1.setLevel(logging.DEBUG)
     
    123123        import doctest
    124124        doctest.testmod()
     125        PsPsLogger.test()
    125126        sys.exit(0)
    126127    # if sys.argv[1] == 'testfile':
Note: See TracChangeset for help on using the changeset viewer.