From 5e52eb36d21c3f15d3a5150c0c29bf853403d4f3 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Thu, 9 Aug 2018 08:38:23 -0400 Subject: [PATCH] Remove use_mox directive As of horizon 14.0.0.0b2 or later the use_mox directive is unecessary so we can remove it. Additionally: * Drop mox3 from test-requirements.txt * raise lower bound for Horizon (due to mox3 removal) Change-Id: Ibcdd5fcda789a4038a538b19d09bc87cdc6fe7f3 Signed-off-by: Chuck Short --- lower-constraints.txt | 3 +-- muranodashboard/tests/unit/packages/test_views.py | 10 ---------- requirements.txt | 2 +- test-requirements.txt | 1 - 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 2edfbf687..dd52c9d28 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -32,7 +32,7 @@ fixtures==3.0.0 flake8==2.5.5 futurist==1.6.0 hacking==0.12.0 -horizon==14.0.0.0b1 +horizon==14.0.0.0b3 idna==2.6 imagesize==1.0.0 iso8601==0.1.11 @@ -47,7 +47,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 murano-pkg-check==0.3.0 diff --git a/muranodashboard/tests/unit/packages/test_views.py b/muranodashboard/tests/unit/packages/test_views.py index ae5e9c295..96562374b 100644 --- a/muranodashboard/tests/unit/packages/test_views.py +++ b/muranodashboard/tests/unit/packages/test_views.py @@ -31,8 +31,6 @@ from openstack_dashboard.test import helpers class TestPackageView(helpers.APIMockTestCase): - use_mox = True - def setUp(self): super(TestPackageView, self).setUp() @@ -91,8 +89,6 @@ class TestPackageView(helpers.APIMockTestCase): class TestDetailView(helpers.APIMockTestCase): - use_mox = True - def setUp(self): super(TestDetailView, self).setUp() @@ -135,8 +131,6 @@ class TestDetailView(helpers.APIMockTestCase): class TestModifyPackageView(helpers.APIMockTestCase): - use_mox = True - def setUp(self): super(TestModifyPackageView, self).setUp() @@ -196,8 +190,6 @@ class TestModifyPackageView(helpers.APIMockTestCase): class TestImportPackageWizard(helpers.APIMockTestCase): - use_mox = True - def setUp(self): super(TestImportPackageWizard, self).setUp() @@ -792,8 +784,6 @@ class TestImportPackageWizard(helpers.APIMockTestCase): class TestImportBundleWizard(helpers.APIMockTestCase): - use_mox = True - def setUp(self): super(TestImportBundleWizard, self).setUp() diff --git a/requirements.txt b/requirements.txt index 1d8a29e01..bd2510896 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ castellan>=0.18.0 # Apache-2.0 oslo.log>=3.36.0 # Apache-2.0 semantic-version>=2.3.1 # BSD -horizon>=13.0.0 # Apache-2.0 +horizon>=14.0.0.0b3 # Apache-2.0 # message extraction Babel!=2.4.0,>=2.3.4 # BSD diff --git a/test-requirements.txt b/test-requirements.txt index 40ae3cb32..5499352c6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13,7 +13,6 @@ selenium>=2.50.1 # Apache-2.0 testtools>=2.2.0 # MIT mock>=2.0.0 # BSD -mox3>=0.20.0 # Apache-2.0 # Docs Requirements openstackdocstheme>=1.18.1 # Apache-2.0