Spec Lite: Policy tests refactoring

Change-Id: I37c9663b79acf44a868f34671db3e820d702b2e7
This commit is contained in:
Abhishek Kekane 2021-06-23 07:30:56 +00:00
parent 7fc0bd705d
commit 7e90ebc263
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
..
This work is licensed under a Creative Commons Attribution 3.0 Unported
License.
http://creativecommons.org/licenses/by/3.0/legalcode
===================================
Spec Lite: Policy tests refactroing
===================================
:project: Glance
:problem: At the moment our unit and functional tests are referring to
policy.yaml located in `glance/tests/etc` of the project
repository. As now we are putting efforts into refactoring the
policy layer in glance we should be testing our defaults
except where we want to test something specifically different.
:solution: Instead of using policies from policy.yaml file we should be
testing our defaults except where we want to test something
specifically different.
:impacts: None
:alternatives: None
:timeline: Xena Milestone-2
:reviewers: Steap, rosmaita, pdeore
:assignee: abhishek-kekane, dansmith