summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-05-20 21:49:05 +0000
committerGerrit Code Review <review@openstack.org>2018-05-20 21:49:05 +0000
commit2dc5678f4fbe69fc5615f5f796def5761561a043 (patch)
tree2be98b0400f02c6c8d4c2c4a7505af9623aae84a
parentfa9706ed418ddb1f6bca1f2721a17e36bfecc650 (diff)
parentcae8c8d51a94b891ce5b311a91d01b4264b296d2 (diff)
downloadoslotest-2dc5678f4fbe69fc5615f5f796def5761561a043.tar.gz
Merge "Deprecate MoxStubout class"3.5.0
-rw-r--r--oslotest/moxstubout.py2
-rw-r--r--requirements.txt1
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