summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-05-16 15:20:43 +0000
committerGerrit Code Review <review@openstack.org>2013-05-16 15:20:43 +0000
commita13c3d2d2dd14a9ab7fea5f17fdb4ee72323d17a (patch)
tree02cd84635fb7a05508c78564c705d1d701f067b0 /tests/unit
parent057ca90347b2285c69c8b548710ab876ee1d634d (diff)
parentb135234079d0b01791f71568d4515ee828a96686 (diff)
downloadoslo-a13c3d2d2dd14a9ab7fea5f17fdb4ee72323d17a.tar.gz
oslo-a13c3d2d2dd14a9ab7fea5f17fdb4ee72323d17a.tar.xz
oslo-a13c3d2d2dd14a9ab7fea5f17fdb4ee72323d17a.zip
Merge "Remove the notifier and its dependencies from log.py"
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test_log.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_log.py b/tests/unit/test_log.py
index c73f67a..301e3a8 100644
--- a/tests/unit/test_log.py
+++ b/tests/unit/test_log.py
@@ -10,6 +10,7 @@ from oslo.config import cfg
from openstack.common import context
from openstack.common import jsonutils
from openstack.common import log
+from openstack.common.log_handler import PublishErrorsHandler
from openstack.common.notifier import api as notifier
from tests import utils as test_utils
@@ -114,7 +115,7 @@ class PublishErrorsHandlerTestCase(test_utils.BaseTestCase):
"""Tests for log.PublishErrorsHandler"""
def setUp(self):
super(PublishErrorsHandlerTestCase, self).setUp()
- self.publiserrorshandler = log.PublishErrorsHandler(logging.ERROR)
+ self.publiserrorshandler = PublishErrorsHandler(logging.ERROR)
def test_emit_cfg_log_notifier_in_notifier_drivers(self):
self.config(notification_driver=[