Check 2.7 tests
@@ -74,6 +74,7 @@ class PersonaCharacteristicAPITests(CairisDaemonTestCase):
self.assertIsNotNone(pcs, 'No results after deserialization')
self.assertIsInstance(pcs, dict, 'The result is not a dictionary as expected')
self.assertGreater(len(pcs), 0, 'No persona characteristics in the dictionary')
+ if (sys.version_info > (3,)):
self.logger.info('[%s] Persona characteristics found: %d', method, len(pcs))
pc = list(pcs.values())[0]
self.logger.info('[%s] First persona characteristic: %s', method, pc['theCharacteristic'])
@@ -157,4 +158,3 @@ class PersonaCharacteristicAPITests(CairisDaemonTestCase):
self.assertIsNotNone(json_resp, 'No results after deserialization')
ackMsg = json_resp.get('message', None)
self.assertEqual(ackMsg, 'Persona Characteristic successfully deleted')
-
