From 8a057cdd408bdd03514748d06578185e28f6729f Mon Sep 17 00:00:00 2001 From: Kaitlin Farr Date: Wed, 22 Feb 2017 09:07:48 -0500 Subject: [PATCH] Change tempest find_test_caller import The tempest.lib.common.utils.misc.find_test_caller is deprecated, replace with tempest.lib.common.utils. test_utils.find_test_caller. Closes-Bug: #1666299 Change-Id: I974c482825686d49ad1dfd25eac00e85d0fc6b50 --- functionaltests/common/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functionaltests/common/client.py b/functionaltests/common/client.py index 5d53a2cf3..97afab8ff 100644 --- a/functionaltests/common/client.py +++ b/functionaltests/common/client.py @@ -18,7 +18,7 @@ import os import requests from six.moves import urllib -from tempest.lib.common.utils import misc as misc_utils +from tempest.lib.common.utils import test_utils from functionaltests.common import auth from functionaltests.common import config @@ -120,7 +120,7 @@ class BarbicanClient(object): 'Response: {response_body}').format(**format_kwargs) def log_request(self, request_kwargs, response, user_name): - test_name = misc_utils.find_test_caller() + test_name = test_utils.find_test_caller() str_request = self.stringify_request(request_kwargs, response) if user_name is None: user_info = ''