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)
This commit is contained in:
Lajos Katona 2018-10-10 13:47:17 +02:00
parent 2184942995
commit b1c48b6688

View File

@ -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',