aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_PolicyCalls.py
diff options
context:
space:
mode:
authordhebeha <dhebeha.mj71@wipro.com>2020-04-10 06:38:11 -0700
committerdhebeha <dhebeha.mj71@wipro.com>2020-04-17 00:07:46 -0700
commit2754404822b496392717d260681946debecf8648 (patch)
tree92b5930025f4655e67e26b37b728526fac6e9edc /test/test_PolicyCalls.py
parent16dec1253f5380df53ccfef97d618fbe03e7be64 (diff)
add aggregation policy for NSI selection
made changes for other policy updates Issue-ID: OPTFRA-730 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: I3fb4ae184cdae9181037fb059ac144070228c29f
Diffstat (limited to 'test/test_PolicyCalls.py')
-rw-r--r--test/test_PolicyCalls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_PolicyCalls.py b/test/test_PolicyCalls.py
index c41c487..d4dc37f 100644
--- a/test/test_PolicyCalls.py
+++ b/test/test_PolicyCalls.py
@@ -101,7 +101,7 @@ class TestPolicyCalls(unittest.TestCase):
req_json = json.loads(open(req_json).read())
# need to run this only on vnf policies
vnf_policies = [x for x in self.policies if x[list(x.keys())[0]]["type"] ==
- "onap.policies.optimization.VnfPolicy"]
+ "onap.policies.optimization.resource.VnfPolicy"]
gen_demands = translation.gen_demands(req_json['placementInfo']['placementDemands'], vnf_policies)
for action in req_json['placementInfo']['placementDemands']: