Remove deprecated alias of test decorators (1/2)

These were deprecated during Pike cycle[1] and multiple cycles have
passed since then.

[1] cd36841ca2

Change-Id: I15929c6f2cd472ad96a6b7086ccb8ac81ccbe7c5
This commit is contained in:
Takashi Kajinami 2024-02-09 13:16:09 +09:00
parent 6f92b52575
commit 23fa0d2de2
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()