Skip to content

Commit

Permalink
better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Dec 16, 2016
1 parent ea2ed33 commit b61770e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dummy_thumbnails/tests/base.py
Expand Up @@ -30,10 +30,10 @@ def inner(self, *args, **kwargs):
"""Inner."""
result = func(self, *args, **kwargs)

logger.info('\n{}'.format(func.__name__))
logger.info('\n%s', func.__name__)
logger.info('============================')
if func.__doc__:
logger.info('""" {} """'.format(func.__doc__.strip()))
logger.info('""" %s """', func.__doc__.strip())
logger.info('----------------------------')
if result is not None:
logger.info(result)
Expand Down

0 comments on commit b61770e

Please sign in to comment.