diff --git a/releasenotes/notes/remove-deprecated-find-test-caller-f4525cd043bfd1b6.yaml b/releasenotes/notes/remove-deprecated-find-test-caller-f4525cd043bfd1b6.yaml new file mode 100644 index 0000000000..f22736fe76 --- /dev/null +++ b/releasenotes/notes/remove-deprecated-find-test-caller-f4525cd043bfd1b6.yaml @@ -0,0 +1,7 @@ +--- +upgrade: + - | + ``tempest.lib.common.utils.misc.find_test_caller`` was deprecated during + Kilo release cycle in favor of + ``tempest.lib.common.utils.test_utils.find_test_caller``. The deprecated + version of ``find_test_caller`` is removed. diff --git a/tempest/lib/common/utils/misc.py b/tempest/lib/common/utils/misc.py index f13b4c8821..2b0fcd557b 100644 --- a/tempest/lib/common/utils/misc.py +++ b/tempest/lib/common/utils/misc.py @@ -14,8 +14,6 @@ # under the License. from oslo_log import log as logging -from tempest.lib.common.utils import test_utils - LOG = logging.getLogger(__name__) @@ -28,10 +26,3 @@ def singleton(cls): instances[cls] = cls() return instances[cls] return getinstance - - -def find_test_caller(*args, **kwargs): - LOG.warning("tempest.lib.common.utils.misc.find_test_caller is deprecated " - "in favor of tempest.lib.common.utils.test_utils." - "find_test_caller") - test_utils.find_test_caller(*args, **kwargs)