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 <takanattie@gmail.com>
This commit is contained in:
Takashi Natsume 2022-08-31 23:17:24 +09:00
parent 22237d390f
commit 85480f94dc

View File

@ -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):