Add test to verify GetPLDMCommands for supported pldm types.

Change-Id: I43ebdf03d98f2322aa1fd71262c987d4e682c839
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/lib/pldm_utils.py b/lib/pldm_utils.py
index 81fbbf0..13005b3 100644
--- a/lib/pldm_utils.py
+++ b/lib/pldm_utils.py
@@ -56,6 +56,10 @@
                 supported_types['text'].append(record[1].rstrip(")"))
             result['supported_types'] = supported_types
 
+        elif 'supported_commands' in result:
+            commands = result['supported_commands'].split(":")[0].split(" ")
+            return commands
+
         elif 'yyyy-mm-dd_hh' in result:
             # Date & Time :
             # YYYY-MM-DD HH:MM:SS - 2020-02-24 06:44:16