Merge "Remove deprecated find_test_caller function"
This commit is contained in:
commit
f197405648
@ -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.
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user