Remove final references to mox

We don't need it anymore. Drop references to it.

Change-Id: Icade65ce11f4dbbf2d2f903985cea941cb7e8cf7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2020-02-25 15:55:11 +00:00
parent e4f2020b94
commit d4038860ce
3 changed files with 0 additions and 7 deletions

View File

@ -25,7 +25,6 @@ MarkupSafe==1.0
mccabe==0.2.1
mock==2.0.0
monotonic==0.6
mox3==0.20.0
netaddr==0.7.18
netifaces==0.10.4
os-client-config==1.28.0

View File

@ -77,8 +77,6 @@ class FakeTable(Base):
updated_at = Column(DateTime, nullable=True)
enabled = Column(Boolean, default=True)
# mox is comparing in some awkward way that
# in this case requires the same identity of object
_expr_to_appease_mox = project_id + snapshot_id
@hybrid_property

View File

@ -17,7 +17,6 @@ import contextlib
from oslo_config import cfg
from oslotest import base as test_base
from oslotest import moxstubout
import six
@ -33,8 +32,5 @@ else:
class BaseTestCase(test_base.BaseTestCase):
def setUp(self, conf=cfg.CONF):
super(BaseTestCase, self).setUp()
moxfixture = self.useFixture(moxstubout.MoxStubout())
self.mox = moxfixture.mox
self.stubs = moxfixture.stubs
self.conf = conf
self.addCleanup(self.conf.reset)