]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix qos api-tests after policy changes
authorMiguel Angel Ajo <mangelajo@redhat.com>
Thu, 20 Aug 2015 13:57:19 +0000 (15:57 +0200)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Thu, 20 Aug 2015 16:27:52 +0000 (18:27 +0200)
commit7b960af9b0ff44ed0e2a7bcfa7c40200552bbc6b
tree7ecc1d61cfd5025c2024032c7cfc057d25b6c64c
parent81b2be5d384d4650582ac115cbbce96c40316b41
Fix qos api-tests after policy changes

The policy.json update in change
Ide1cd30979f99612fe89dddf3dc0e029d3f4d34a breaks the qos api-tests
due to actions which the default policy won't allow, like qos
rules or policies creation by non-admins.

We removed test_rule_association_nonshared_policy which
is not possible with the default policy.json in favor of
test_policy_create_forbidden_for_regular_tenants.

This commit unblocks the qos api-test re-enablement.

Partially-Implements: blueprint quantum-qos-api

Change-Id: Ib77412bd95ad5b65ad0f6964d9809b5f707847f5
neutron/tests/api/test_qos.py