AMBARI-7810 TestAlerts fails when executed with python2.6 (jaoki)