From 6d697ad2f0ba74c9396b61ebb18b36613fdb8648 Mon Sep 17 00:00:00 2001 From: Rabi Mishra Date: Tue, 12 May 2020 11:11:39 +0530 Subject: Fix pep8 E741 errors Change-Id: Ibb0da11fd89876602a6da62d08834937b81c2ce6 --- heat_integrationtests/common/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'heat_integrationtests') diff --git a/heat_integrationtests/common/test.py b/heat_integrationtests/common/test.py index afa1ec20d..6c330a23d 100644 --- a/heat_integrationtests/common/test.py +++ b/heat_integrationtests/common/test.py @@ -482,7 +482,7 @@ class HeatIntegrationTest(testscenarios.WithScenarios, def _get_nested_identifier(self, stack_identifier, res_name): rsrc = self.client.resources.get(stack_identifier, res_name) - nested_link = [l for l in rsrc.links if l['rel'] == 'nested'] + nested_link = [lk for lk in rsrc.links if lk['rel'] == 'nested'] nested_href = nested_link[0]['href'] nested_id = nested_href.split('/')[-1] nested_identifier = '/'.join(nested_href.split('/')[-2:]) @@ -524,7 +524,7 @@ class HeatIntegrationTest(testscenarios.WithScenarios, if (filter_func(r) if callable(filter_func) else True)) def get_resource_stack_id(self, r): - stack_link = [l for l in r.links if l.get('rel') == 'stack'][0] + stack_link = [lk for lk in r.links if lk.get('rel') == 'stack'][0] return stack_link['href'].split("/")[-1] def get_physical_resource_id(self, stack_identifier, resource_name): -- cgit v1.2.1