Remove mox
It's not used at all, and we've been trying to remove it from OpenStack for a while. Change-Id: Icc8112af0c512cf6040befcbeadd5c3e55b03401
This commit is contained in:
@@ -17,7 +17,6 @@ import uuid
|
||||
|
||||
import fixtures
|
||||
import mock
|
||||
from mox3 import mox
|
||||
import requests
|
||||
from requests_mock.contrib import fixture
|
||||
import six
|
||||
@@ -42,7 +41,6 @@ class TestCase(testtools.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestCase, self).setUp()
|
||||
self.mox = mox.Mox()
|
||||
self.logger = self.useFixture(fixtures.FakeLogger(level=logging.DEBUG))
|
||||
self.time_patcher = mock.patch.object(time, 'time', lambda: 1234)
|
||||
self.time_patcher.start()
|
||||
@@ -51,8 +49,6 @@ class TestCase(testtools.TestCase):
|
||||
|
||||
def tearDown(self):
|
||||
self.time_patcher.stop()
|
||||
self.mox.UnsetStubs()
|
||||
self.mox.VerifyAll()
|
||||
super(TestCase, self).tearDown()
|
||||
|
||||
def stub_url(self, method, parts=None, base_url=None, json=None, **kwargs):
|
||||
|
@@ -9,7 +9,6 @@ discover
|
||||
fixtures>=1.3.1
|
||||
keyring!=3.3,>=2.1
|
||||
mock>=1.2
|
||||
mox3>=0.7.0
|
||||
oauthlib>=0.6
|
||||
oslo.config>=2.6.0 # Apache-2.0
|
||||
oslosphinx>=2.5.0 # Apache-2.0
|
||||
|
Reference in New Issue
Block a user