Merge "Make test_notifier independent of test case execution order"

This commit is contained in:
Jenkins 2017-08-25 02:48:18 +00:00 committed by Gerrit Code Review
commit c06046b6ba
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ from osprofiler.tests import test
class NotifierTestCase(test.TestCase):
def tearDown(self):
notifier.__notifier = notifier._noop_notifier
notifier.set(notifier._noop_notifier) # restore defaults
super(NotifierTestCase, self).tearDown()
def test_set(self):