SEBA-960 fix xos robot tests broken by python upgrade

Change-Id: If49d880f32ab6ba323ca8e83ed504b4a351df196
diff --git a/cord-robot/CORDRobot/CORDDictUtils.py b/cord-robot/CORDRobot/CORDDictUtils.py
index ea13212..4d48d16 100644
--- a/cord-robot/CORDRobot/CORDDictUtils.py
+++ b/cord-robot/CORDRobot/CORDDictUtils.py
@@ -101,7 +101,7 @@
         for dict1 in list1:
             if dict1 == {}:
                 continue
-            key = dict1.keys()[0]
+            key = list(dict1.keys())[0]
             value = dict1[key]
             dict2 = self.getDictFromListOfDict(list2, key, value)
             if dict2 == {}: