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

This commit is contained in:
Zuul 2024-07-02 11:48:20 +00:00 committed by Gerrit Code Review
commit 0bb9f6de1a
2 changed files with 5 additions and 6 deletions

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The ``attr`` decorator is no longer available in the ``tempest.test``
module. Use the ``tempest.lib.decorators`` module instead.

View File

@ -31,7 +31,6 @@ from tempest.lib.common import api_microversion_fixture
from tempest.lib.common import fixed_network
from tempest.lib.common import profiler
from tempest.lib.common import validation_resources as vr
from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
LOG = logging.getLogger(__name__)
@ -39,11 +38,6 @@ LOG = logging.getLogger(__name__)
CONF = config.CONF
attr = debtcollector.moves.moved_function(
decorators.attr, 'attr', __name__,
version='Pike', removal_version='?')
at_exit_set = set()