Add oslo policy test

The policy option is configured using oslo mudule,
but no related test, so add it.

Change-Id: I18c6e9a3d07bbe85a8649e6d6f8e6f256ebb9a18
This commit is contained in:
ZhongShengping
2016-06-21 00:01:34 +08:00
parent 55700a77d7
commit 9612b34e8b

View File

@@ -20,6 +20,7 @@ describe 'nova::policy' do
:key => 'context_is_admin',
:value => 'foo:bar'
})
is_expected.to contain_nova_config('oslo_policy/policy_file').with_value('/etc/nova/policy.json')
end
end