Automated Code update scenario

Changes:
   - Automated code update in progress then update
     http certificate
   - Added parameter that is https_certificate to
     "Redfish Code Update With Different Interrupted Operation"

Tested:
    - Ran successfully
      redfish/update_service/test_redfish_bmc_code_update.robot

Change-Id: Icb5410f6abea42291162771cc25b2b64b08cbae1
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/code_update_utils.robot b/lib/code_update_utils.robot
index c94d56d..cff9937 100644
--- a/lib/code_update_utils.robot
+++ b/lib/code_update_utils.robot
@@ -667,7 +667,8 @@
 
     FOR  ${sw_member}  IN  @{sw_member_list}
       ${status}=  Redfish.Get Attribute  ${sw_member}  Status
-      Return From Keyword If  '${status['State']}' == ${match_state}  ${sw_member.split('/')[-1]}
+      Return From Keyword If  '${status['State']}' == '${match_state}'
+      ...  ${sw_member.split('/')[-1]}
     END
 
     [Return]  None