Merge "Remove deprecated alias of test decorators (1/2)"

This commit is contained in:
Zuul 2024-03-28 20:33:59 +00:00 committed by Gerrit Code Review
commit 1dfa07524d
2 changed files with 9 additions and 15 deletions

View File

@ -0,0 +1,9 @@
---
upgrade:
- |
The following decorators are no longer available in the ``tempest.test``
module. Use the ``tempest.common.utils`` module instead.
- ``services``
- ``requires_ext``
- ``is_extension_enabled``

View File

@ -26,7 +26,6 @@ import testtools
from tempest import clients
from tempest.common import credentials_factory as credentials
from tempest.common import utils
from tempest import config
from tempest.lib.common import api_microversion_fixture
from tempest.lib.common import fixed_network
@ -45,20 +44,6 @@ attr = debtcollector.moves.moved_function(
version='Pike', removal_version='?')
services = debtcollector.moves.moved_function(
utils.services, 'services', __name__,
version='Pike', removal_version='?')
requires_ext = debtcollector.moves.moved_function(
utils.requires_ext, 'requires_ext', __name__,
version='Pike', removal_version='?')
is_extension_enabled = debtcollector.moves.moved_function(
utils.is_extension_enabled, 'is_extension_enabled', __name__,
version='Pike', removal_version='?')
at_exit_set = set()