Drop mox3 from test-requirements.txt

create_stubs in test.helpers is also dropped in
this commit because this creates a stub using mox.
This is part of mox-removal community goal in Rocky.

Change-Id: I54b3679bf294f20910fae9bf9ee442769455415b
Closes-Bug: #1758388
This commit is contained in:
licanwei 2018-04-18 19:13:41 -07:00
parent 5a7ebe5016
commit 810bd7e589
4 changed files with 2 additions and 8 deletions

View File

@ -28,7 +28,7 @@ fixtures==3.0.0
flake8==2.5.5
futurist==1.6.0
hacking==0.12.0
horizon==14.0.0.b1
horizon==14.0.0.b2
httplib2==0.10.3
idna==2.6
imagesize==1.0.0
@ -44,7 +44,6 @@ MarkupSafe==1.0
mccabe==0.2.1
mock==2.0.0
monotonic==1.4
mox3==0.20.0
msgpack==0.5.6
munch==2.2.0
netaddr==0.7.19

View File

@ -4,7 +4,7 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
horizon>=14.0.0.0b1 # Apache-2.0
horizon>=14.0.0.0b2 # Apache-2.0
PyYAML>=3.12 # MIT
python-watcherclient>=1.1.0 # Apache-2.0

View File

@ -7,7 +7,6 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
django-nose>=1.4.4 # BSD
mock>=2.0.0 # BSD
mox3>=0.20.0 # Apache-2.0
nose-exclude>=0.5.0 # LGPL
python-subunit>=1.0.0 # Apache-2.0/BSD
selenium>=2.50.1 # Apache-2.0

View File

@ -24,10 +24,6 @@ from watcher_dashboard import api
from watcher_dashboard.test.test_data import utils
def create_stubs(stubs_to_create={}):
return helpers.create_stubs(stubs_to_create)
class WatcherTestsMixin(object):
def _setup_test_data(self):
super(WatcherTestsMixin, self)._setup_test_data()