summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2020-02-25 15:55:11 +0000
committerStephen Finucane <stephenfin@redhat.com>2020-02-25 16:57:45 +0000
commitd4038860ce9df2a32af41fa1f3bb6557c03f6e23 (patch)
tree46b9747868b416aeb04a4650ed299d36ddd1b1cc
parente4f2020b94481c801ecd956dd695dd9130ced1d9 (diff)
downloadoslo-db-d4038860ce9df2a32af41fa1f3bb6557c03f6e23.tar.gz
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>
-rw-r--r--lower-constraints.txt1
-rw-r--r--oslo_db/tests/sqlalchemy/test_utils.py2
-rw-r--r--oslo_db/tests/utils.py4
3 files changed, 0 insertions, 7 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt
index 34d6211..3fef2eb 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -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
diff --git a/oslo_db/tests/sqlalchemy/test_utils.py b/oslo_db/tests/sqlalchemy/test_utils.py
index ab468f7..f193dfd 100644
--- a/oslo_db/tests/sqlalchemy/test_utils.py
+++ b/oslo_db/tests/sqlalchemy/test_utils.py
@@ -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
diff --git a/oslo_db/tests/utils.py b/oslo_db/tests/utils.py
index 00eb468..bbf1fa8 100644
--- a/oslo_db/tests/utils.py
+++ b/oslo_db/tests/utils.py
@@ -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)