From b6c55f05d13dfd1198e2352e804127f26ee59494 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Thu, 4 Jul 2013 10:25:54 +0200 Subject: [PATCH] Use the same logger class in all test cases tempest.common.log is used by the most test cases, but not all of them using it. This change is aims to fix this anomaly. Change-Id: I45e667fc4a9938605d131585315659930bfedfce --- tempest/cli/__init__.py | 2 +- tempest/cli/output_parser.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tempest/cli/__init__.py b/tempest/cli/__init__.py index 5bbedfd..90a1520 100644 --- a/tempest/cli/__init__.py +++ b/tempest/cli/__init__.py @@ -15,7 +15,6 @@ # License for the specific language governing permissions and limitations # under the License. -import logging import os import shlex import subprocess @@ -23,6 +22,7 @@ import subprocess from oslo.config import cfg import tempest.cli.output_parser +from tempest.common import log as logging import tempest.test diff --git a/tempest/cli/output_parser.py b/tempest/cli/output_parser.py index 840839b..3ee3098 100644 --- a/tempest/cli/output_parser.py +++ b/tempest/cli/output_parser.py @@ -18,7 +18,8 @@ """Collection of utilities for parsing CLI clients output.""" -import logging +from tempest.common import log as logging + import re