Ignore:
Timestamp:
30 Apr 2015, 10:32:04 (10 years ago)
Author:
Henrik Bettermann
Message:

More docs.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

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

    r11254 r12894  
    408408        results = [x for x in results]
    409409        assert len(results) == 0
     410        # Actions are logged.
     411        logcontent = open(self.logfile).read()
     412        self.assertTrue(
     413            'hall-1 - 9 empty beds removed, 9 beds added, 1 occupied '
     414            'beds modified (hall-1_A_101_E, )'
     415            in logcontent)
    410416
    411417    def test_clear_hostels(self):
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py

    r10842 r12894  
    4444    logger_format_str = '"%(asctime)s","%(user)s",%(message)s'
    4545
    46     def logger_info(self, comment=None):
    47         """Get the logger's info method.
    48         """
    49         self.logger.info('%s' % comment)
    50         return
     46    #def logger_info(self, comment=None):
     47    #    """Get the logger's info method.
     48    #    """
     49    #    self.logger.info('%s' % comment)
     50    #    return
    5151
    5252    def __init__(self):
Note: See TracChangeset for help on using the changeset viewer.