From 2754404822b496392717d260681946debecf8648 Mon Sep 17 00:00:00 2001 From: dhebeha Date: Fri, 10 Apr 2020 06:38:11 -0700 Subject: add aggregation policy for NSI selection made changes for other policy updates Issue-ID: OPTFRA-730 Signed-off-by: dhebeha Change-Id: I3fb4ae184cdae9181037fb059ac144070228c29f --- test/test_PolicyCalls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_PolicyCalls.py') 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']: -- cgit 1.2.3-korg