[openstack-dev] [Cinder] about policy.json in unit test

Bohai (ricky) bohai at huawei.com
Tue Apr 29 02:04:33 UTC 2014


Hi stackers,

I found there are two "policy.json" files in cinder project.
One is for source code(cinder/etc/policy.json), another is for the unit test(cinder/cinder/tests/policy.json).

Maybe it's better to united them and make the unit test to use the "policy.json" file in the source code:
1. "policy.json" in the source code is really what we want to test but not the one in unit test.
2. It's more convenient for the developers, because of only need to modify one policy.json file.
  Current it's easy to miss one of them.

Any advices?

Best regards to you.
Ricky





More information about the OpenStack-dev mailing list