From 57ab6d5e7c2ff73b7aa8e2e5db44998a2726e624 Mon Sep 17 00:00:00 2001 From: Neil Widmaier Date: Wed, 2 Feb 2022 15:08:54 -0800 Subject: [PATCH] making minor variable name changes Signed-off-by: Neil Widmaier --- .../tests/hydra_AtomEditorComponents_LightAdded.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_LightAdded.py b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_LightAdded.py index f0dfd32b81..d036147eb7 100644 --- a/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_LightAdded.py +++ b/AutomatedTesting/Gem/PythonTests/Atom/tests/hydra_AtomEditorComponents_LightAdded.py @@ -126,15 +126,15 @@ def AtomEditorComponents_Light_AddedToEntity(): Report.result(Tests.creation_redo, light_entity.exists()) # 5. Cycle through all light types. - for ltype, value in LIGHT_TYPES.items(): + for light_type in LIGHT_TYPES.keys(): light_component.set_component_property_value( - AtomComponentProperties.light('Light type'), LIGHT_TYPES[ltype]) + AtomComponentProperties.light('Light type'), LIGHT_TYPES[light_type]) current_light_type = light_component.get_component_property_value( AtomComponentProperties.light('Light type')) - test_shape = ( - f"Light component has {ltype} type set", - f"Light component failed to set {ltype} type") - Report.result(test_shape, current_light_type == LIGHT_TYPES[ltype]) + test_light_type = ( + f"Light component has {light_type} type set", + f"Light component failed to set {light_type} type") + Report.result(test_light_type, current_light_type == LIGHT_TYPES[light_type]) # 6. Enter/Exit game mode. TestHelper.enter_game_mode(Tests.enter_game_mode)