diff --git a/releasenotes/notes/cleanup-attr-decorator-alias-78ce21eb20d87e01.yaml b/releasenotes/notes/cleanup-attr-decorator-alias-78ce21eb20d87e01.yaml new file mode 100644 index 0000000000..43091e1a8a --- /dev/null +++ b/releasenotes/notes/cleanup-attr-decorator-alias-78ce21eb20d87e01.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The ``attr`` decorator is no longer available in the ``tempest.test`` + module. Use the ``tempest.lib.decorators`` module instead. diff --git a/tempest/test.py b/tempest/test.py index 173bfab003..85a6c3628d 100644 --- a/tempest/test.py +++ b/tempest/test.py @@ -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()