X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_policy_module%2Ftests%2Fintegration%2Ftest_policy_agent.py;h=73db3049c12c5e852e40a23e78da088ef5e7ff66;hb=be42d54170ca40d8d52e2c9fc8d888621585d6cf;hp=0329b7cba92ba1123434fc2a70d1fb156aa9bf60;hpb=3cab75bfb39b4f03509ccb90dc26404bceec557a;p=osm%2FPOL.git diff --git a/osm_policy_module/tests/integration/test_policy_agent.py b/osm_policy_module/tests/integration/test_policy_agent.py index 0329b7c..73db304 100644 --- a/osm_policy_module/tests/integration/test_policy_agent.py +++ b/osm_policy_module/tests/integration/test_policy_agent.py @@ -375,7 +375,7 @@ vnfd_record_mock = { "recovery-type": "automatic", "action-on-recovery": "REDEPLOY_ONLY", "cooldown-time": 180, - "day1": False + "day1": False, } ], } @@ -592,7 +592,7 @@ class PolicyModuleAgentTest(unittest.TestCase): vnf_member_index="1", threshold=20.0, operation="LT", - action="{'webhook': ['localhost:9090', 'localhost:9090', 'localhost:9090']}" + action="{'webhook': ['localhost:9090', 'localhost:9090', 'localhost:9090']}", ) create_alarm.assert_any_call( metric_name="average_memory_utilization", @@ -601,7 +601,7 @@ class PolicyModuleAgentTest(unittest.TestCase): vnf_member_index="2", threshold=20.0, operation="LT", - action="{'webhook': ['localhost:9090', 'localhost:9090', 'localhost:9090']}" + action="{'webhook': ['localhost:9090', 'localhost:9090', 'localhost:9090']}", ) @patch.object(DbMongo, "db_connect", Mock())