Remove deprecated alias of test decorators (2/2)

The attr decorator was deprecated during Pike cycle[1] and multiple
cycles have passed since then.

[1] 3b46d27c90

Depends-on: https://review.opendev.org/908551
Change-Id: Ib24acdd68d1639cd0353f40db1bc9a32b3cecae8
This commit is contained in:
Takashi Kajinami 2024-03-28 11:44:29 +09:00
parent 23fa0d2de2
commit 033f78a4be
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()