]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add policy_dirs conf fixture
authorEric Harney <eharney@redhat.com>
Mon, 19 Jan 2015 18:10:00 +0000 (13:10 -0500)
committerEric Harney <eharney@redhat.com>
Mon, 19 Jan 2015 18:11:35 +0000 (13:11 -0500)
commit892ef5d6dbedbebcc500f1edd12f6218baf44b65
tree091b28e883b7577ba453c3382068c16537de291f
parentb3fd4e1450e5825c31c92a2db6aea550e272261e
Add policy_dirs conf fixture

Unit tests that call into the policy enforcer from openstack
common will try to load files from the default directory of
'policy.d'.

Set the policy_dirs option to [] for unit tests since tests
are not trying to use policy from a directory like this, and
this will prevent test failures.

Change-Id: I7645179aeab3713a5addfccb0bb44a28e8fc4e87
Closes-Bug: #1412526
cinder/tests/conf_fixture.py