Skip to content

Commit

Permalink
Don't drop the anitya log handler
Browse files Browse the repository at this point in the history
When we run the tests, nose won't show the log output unless there's an
error. This fixes the 'No handlers could be found for logger
"anitya.lib.plugins"' error during the unit tests.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
  • Loading branch information
jeremycline committed Feb 16, 2017
1 parent 5161edd commit fbd1a96
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions anitya/tests/base.py
Expand Up @@ -23,7 +23,6 @@
from __future__ import print_function

from functools import wraps
import logging
import unittest
import os

Expand All @@ -48,10 +47,6 @@
pass


_log = logging.getLogger('anitya')
_log.handlers = []


def skip_jenkins(function):
""" Decorator to skip tests if AUTH is set to False """
@wraps(function)
Expand Down

0 comments on commit fbd1a96

Please sign in to comment.