diff options
author | Ben Nemec <bnemec@redhat.com> | 2018-05-14 17:39:36 +0000 |
---|---|---|
committer | Ben Nemec <bnemec@redhat.com> | 2018-05-14 19:37:55 +0000 |
commit | cae8c8d51a94b891ce5b311a91d01b4264b296d2 (patch) | |
tree | 9d096c2f89b5baead2c3c76bef54f07b6a8d219d | |
parent | 0a3b06e46f3d58c11acae88bfd04f683f5d73ce1 (diff) | |
download | oslotest-cae8c8d51a94b891ce5b311a91d01b4264b296d2.tar.gz |
Deprecate MoxStubout class
As part of the mox removal goal, we need to deprecate this class so
it can be removed once everyone has stopped using it.
Story 2001546
Change-Id: I8864ab0c475b63a7549137d9ea0514b7e8154e79
-rw-r--r-- | oslotest/moxstubout.py | 2 | ||||
-rw-r--r-- | requirements.txt | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/oslotest/moxstubout.py b/oslotest/moxstubout.py index ab4547b..00436fd 100644 --- a/oslotest/moxstubout.py +++ b/oslotest/moxstubout.py @@ -15,10 +15,12 @@ # License for the specific language governing permissions and limitations # under the License. +from debtcollector import removals import fixtures from mox3 import mox +@removals.removed_class('MoxStubout', version='3.5.0') class MoxStubout(fixtures.Fixture): """Deal with code around mox and stubout as a fixture.""" diff --git a/requirements.txt b/requirements.txt index 4dad816..9f3c706 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,3 +10,4 @@ testtools>=2.2.0 # MIT mock>=2.0.0 # BSD mox3>=0.20.0 # Apache-2.0 os-client-config>=1.28.0 # Apache-2.0 +debtcollector # Apache-2.0 |