Remove moxstubout usage
In newer versions of oslotest, moxstubout will be deprecated. So we can get out in front of the curve now and remove it. Change-Id: I7b39aa52d3051e81a908277a6fc956d680d653e7 Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
parent
337cd36459
commit
eca8c7c039
@ -32,7 +32,6 @@ from oslo_concurrency import lockutils
|
||||
from oslo_config import cfg
|
||||
from oslo_config import fixture as config_fixture
|
||||
from oslo_log.fixture import logging_error
|
||||
from oslotest import moxstubout
|
||||
import six
|
||||
import testtools
|
||||
|
||||
@ -145,9 +144,6 @@ class TestCase(testtools.TestCase):
|
||||
# because sqlalchemy-migrate messes with the warnings filters.
|
||||
self.useFixture(obj_fixtures.WarningsFixture())
|
||||
|
||||
mox_fixture = self.useFixture(moxstubout.MoxStubout())
|
||||
self.mox = mox_fixture.mox
|
||||
self.stubs = mox_fixture.stubs
|
||||
self.addCleanup(self._clear_attrs)
|
||||
self.useFixture(fixtures.EnvironmentVariable('http_proxy'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user