From ecce1f64f76ac2121091ec4310e715b392bcc678 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 18 Jan 2018 13:32:05 -0800 Subject: [PATCH] Fixed _log_console_output call on failure _log_console_output is defined in tempest.scenario.manager.Manager but the test class inherited from BaseTestCase that doesn't have it. So whenever a test failure occurs, we don't log console output, which may be handy when debugging gate issues. Change-Id: I48701da8714c9e483401fd1ba987e4f2bef5bd23 Related-Bug: #1742936 --- barbican_tempest_plugin/tests/scenario/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/barbican_tempest_plugin/tests/scenario/manager.py b/barbican_tempest_plugin/tests/scenario/manager.py index e7957cb..8a8ca9d 100644 --- a/barbican_tempest_plugin/tests/scenario/manager.py +++ b/barbican_tempest_plugin/tests/scenario/manager.py @@ -25,14 +25,14 @@ from tempest import exceptions from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import test_utils from tempest.lib import exceptions as lib_exc -import tempest.test +from tempest.scenario import manager CONF = config.CONF LOG = log.getLogger(__name__) -class ScenarioTest(tempest.test.BaseTestCase): +class ScenarioTest(manager.ScenarioTest): """Base class for scenario tests. Uses tempest own clients. """ credentials = ['primary']