Add fix to skip tests for inactive channel numbers

In Get Active Channel Config, channel numbers with is_valid
set as False are also considered to be active channel numbers
which causes script run failure. Hence included a check to skip
inactive channel number.

Tested: Run robot redfish/managers/test_managers_bmc.robot

Signed-off-by: Aravinth R <aravinthr@ami.com>
Change-Id: I886cb9dd970544ba7727eec37efeacf08a2f9ab9
diff --git a/redfish/managers/test_managers_bmc.robot b/redfish/managers/test_managers_bmc.robot
index 3a9b3a1..277f193 100644
--- a/redfish/managers/test_managers_bmc.robot
+++ b/redfish/managers/test_managers_bmc.robot
@@ -78,6 +78,10 @@
     FOR  ${channel_number}  IN  @{active_channel_config.keys()}
         Log Dictionary  ${active_channel_config["${channel_number}"]}
 
+        # Skip channel if is_valid is false for the channel number
+        Continue For Loop If
+        ...  ${active_channel_config["${channel_number}"]["is_valid"]}==${FALSE}
+
         # Get ethernet valid paths in redfish.
         # Example: ['/redfish/v1/Managers/bmc/EthernetInterfaces']
         ${eth_interface}=  redfish_utils.Get Endpoint Path List