From 810bd7e5897716f433a1a8b2b8f4e4dc89673043 Mon Sep 17 00:00:00 2001
From: licanwei
Date: Wed, 18 Apr 2018 19:13:41 -0700
Subject: [PATCH] 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
---
lower-constraints.txt | 3 +--
requirements.txt | 2 +-
test-requirements.txt | 1 -
watcher_dashboard/test/helpers.py | 4 ----
4 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/lower-constraints.txt b/lower-constraints.txt
index ed12ab7..ecf33df 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -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
diff --git a/requirements.txt b/requirements.txt
index 45f2c35..9375138 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -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
diff --git a/test-requirements.txt b/test-requirements.txt
index 8c57c9d..b495449 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -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
diff --git a/watcher_dashboard/test/helpers.py b/watcher_dashboard/test/helpers.py
index 37d3098..57155ae 100644
--- a/watcher_dashboard/test/helpers.py
+++ b/watcher_dashboard/test/helpers.py
@@ -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()