diff --git a/lower-constraints.txt b/lower-constraints.txt index 34d62119..3fef2eb6 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 ab468f74..f193dfd5 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 00eb468b..bbf1fa81 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)