Merge "Remove deprecated find_test_caller function"

This commit is contained in:
Zuul 2018-10-19 03:33:54 +00:00 committed by Gerrit Code Review
commit f197405648
2 changed files with 7 additions and 9 deletions

View File

@ -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.

View File

@ -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)