From 677c631b0b426b2512c9f97e24a438b00b8a0d66 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Sun, 22 Jul 2018 07:50:20 -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. Change-Id: I1191bb4223556b7da1f4377bec70277abf58dd39 Signed-off-by: Chuck Short --- lower-constraints.txt | 2 +- neutron_fwaas_dashboard/dashboards/project/firewalls/tests.py | 2 -- .../dashboards/project/firewalls_v2/tests.py | 2 -- neutron_fwaas_dashboard/test/api_tests/test_fwaas.py | 2 -- neutron_fwaas_dashboard/test/api_tests/test_fwaas_v2.py | 2 -- requirements.txt | 2 +- 6 files changed, 2 insertions(+), 10 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 6700afd..cd56757 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -31,7 +31,7 @@ flake8-import-order==0.13 futurist==1.2.0 greenlet==0.4.10 hacking==0.12.0 -horizon==13.0.0 +horizon==14.0.0b2 idna==2.6 imagesize==0.7.1 iso8601==0.1.11 diff --git a/neutron_fwaas_dashboard/dashboards/project/firewalls/tests.py b/neutron_fwaas_dashboard/dashboards/project/firewalls/tests.py index 487adc4..91b4db4 100644 --- a/neutron_fwaas_dashboard/dashboards/project/firewalls/tests.py +++ b/neutron_fwaas_dashboard/dashboards/project/firewalls/tests.py @@ -25,8 +25,6 @@ from neutron_fwaas_dashboard.test import helpers as test class FirewallTests(test.TestCase): - use_mox = False - DASHBOARD = 'project' INDEX_URL = reverse('horizon:%s:firewalls:index' % DASHBOARD) diff --git a/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/tests.py b/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/tests.py index 52dcd76..d4b8972 100644 --- a/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/tests.py +++ b/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/tests.py @@ -23,8 +23,6 @@ from neutron_fwaas_dashboard.test import helpers as test class FirewallTests(test.TestCase): - use_mox = False - INDEX_URL = reverse('horizon:project:firewalls_v2:index') ADDRULE_PATH = 'horizon:project:firewalls_v2:addrule' diff --git a/neutron_fwaas_dashboard/test/api_tests/test_fwaas.py b/neutron_fwaas_dashboard/test/api_tests/test_fwaas.py index e6f8d7b..20002da 100644 --- a/neutron_fwaas_dashboard/test/api_tests/test_fwaas.py +++ b/neutron_fwaas_dashboard/test/api_tests/test_fwaas.py @@ -23,8 +23,6 @@ from neutron_fwaas_dashboard.test import helpers as test class FwaasApiTests(test.APITestCase): - use_mox = False - @helpers.create_mocks({neutronclient: ('create_firewall_rule',)}) def test_rule_create(self): rule1 = self.fw_rules.first() diff --git a/neutron_fwaas_dashboard/test/api_tests/test_fwaas_v2.py b/neutron_fwaas_dashboard/test/api_tests/test_fwaas_v2.py index 871a961..59b0fb0 100644 --- a/neutron_fwaas_dashboard/test/api_tests/test_fwaas_v2.py +++ b/neutron_fwaas_dashboard/test/api_tests/test_fwaas_v2.py @@ -23,8 +23,6 @@ from neutron_fwaas_dashboard.test import helpers as test class FwaasV2ApiTests(test.APITestCase): - use_mox = False - @helpers.create_mocks({neutronclient: ('create_fwaas_firewall_rule',)}) def test_rule_create(self): rule1 = self.fw_rules_v2.first() diff --git a/requirements.txt b/requirements.txt index cfc019f..0e9cf07 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,5 @@ # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -horizon>=13.0.0 # Apache-2.0 +horizon>=14.0.0.0b2 # Apache-2.0 python-neutronclient>=6.7.0 # Apache-2.0