From b1c48b668855aae30e5c692b93976cb3f87fdf74 Mon Sep 17 00:00:00 2001 From: Lajos Katona Date: Wed, 10 Oct 2018 13:47:17 +0200 Subject: [PATCH] Remove test_rule_create_fail_for_direction_ingress When the API extension qos-bw-minimum-ingress will be on master (see: https://review.openstack.org/584927) the test neutron_tempest_plugin.api.test_qos.QosMinimumBandwidthRuleTestJSON. test_rule_create_fail_for_direction_ingress is useless, so it can be removed from master, and to keep the coverage for stable branches there should be fullstack test: I6ee08d43aed60a7dd2d3281deaccfac2f3712b33 Change-Id: Ie04d53817c1f28b4756b1cc308203dc77dd2a19c Partial-Bug: #1578989 See-Also: https://review.openstack.org/502306 (nova spec) See-Also: https://review.openstack.org/508149 (neutron spec) --- neutron_tempest_plugin/api/test_qos.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/neutron_tempest_plugin/api/test_qos.py b/neutron_tempest_plugin/api/test_qos.py index 2bf99bfb..1b88a7ab 100644 --- a/neutron_tempest_plugin/api/test_qos.py +++ b/neutron_tempest_plugin/api/test_qos.py @@ -1053,17 +1053,6 @@ class QosMinimumBandwidthRuleTestJSON(base.BaseAdminNetworkTest): policy_id=policy['id'], direction=self.DIRECTION_EGRESS, min_kbps=201) - @decorators.idempotent_id('d6fce764-e511-4fa6-9f86-f4b41cf142cf') - def test_rule_create_fail_for_direction_ingress(self): - policy = self.create_qos_policy(name='test-policy', - description='test policy', - shared=False) - self.assertRaises(exceptions.BadRequest, - self.admin_client.create_minimum_bandwidth_rule, - policy_id=policy['id'], - direction=self.DIRECTION_INGRESS, - min_kbps=201) - @decorators.idempotent_id('a49a6988-2568-47d2-931e-2dbc858943b3') def test_rule_update(self): policy = self.create_qos_policy(name='test-policy',