From 85480f94dc6c346399791ae83f380ff5c9eb0add Mon Sep 17 00:00:00 2001 From: Takashi Natsume Date: Wed, 31 Aug 2022 23:17:24 +0900 Subject: [PATCH] Fix an assert statement Fix an assert statement in heat/tests/aws/test_eip.py. Change-Id: I3ae3e8d3132f8e100067fb86460b7c3f3ae35d07 Story: 2010265 Task: 46164 Signed-off-by: Takashi Natsume --- heat/tests/aws/test_eip.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/heat/tests/aws/test_eip.py b/heat/tests/aws/test_eip.py index 4b6047d6c2..af52578515 100644 --- a/heat/tests/aws/test_eip.py +++ b/heat/tests/aws/test_eip.py @@ -805,8 +805,7 @@ class AllocTest(common.HeatTestCase): before = self.create_association(t, stack, 'IPAssoc') after = rsrc_defn.ResourceDefinition(before.name, before.type(), after_props) - self.assertTrue(resource.UpdateReplace, - before._needs_update(after, before, after_props, + self.assertTrue(before._needs_update(after, before, after_props, before_props, None)) def test_update_association_needs_update_InstanceId_EIP(self):