Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A5301042E for ; Tue, 9 Jul 2013 16:32:29 +0000 (UTC) Received: (qmail 16455 invoked by uid 500); 9 Jul 2013 16:32:29 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 16317 invoked by uid 500); 9 Jul 2013 16:32:24 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 16309 invoked by uid 99); 9 Jul 2013 16:32:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 16:32:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CFBB48898B5; Tue, 9 Jul 2013 16:32:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: smohanty@apache.org To: ambari-commits@incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-2601. Python unit tests are broken. (Oleksandr Diachenko via smohanty) Date: Tue, 9 Jul 2013 16:32:23 +0000 (UTC) Updated Branches: refs/heads/trunk 9bb65d34e -> 8250e9808 AMBARI-2601. Python unit tests are broken. (Oleksandr Diachenko via smohanty) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/8250e980 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/8250e980 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/8250e980 Branch: refs/heads/trunk Commit: 8250e980890193349f12aa371f5bcd734ba6ec21 Parents: 9bb65d3 Author: Sumit Mohanty Authored: Tue Jul 9 09:32:02 2013 -0700 Committer: Sumit Mohanty Committed: Tue Jul 9 09:32:02 2013 -0700 ---------------------------------------------------------------------- ambari-server/src/test/python/TestAmbaryServer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/8250e980/ambari-server/src/test/python/TestAmbaryServer.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/TestAmbaryServer.py b/ambari-server/src/test/python/TestAmbaryServer.py index 57b8d9e..4d1e5da 100644 --- a/ambari-server/src/test/python/TestAmbaryServer.py +++ b/ambari-server/src/test/python/TestAmbaryServer.py @@ -3031,7 +3031,7 @@ MIIFHjCCAwYCCQDpHKOBI+Lt0zANBgkqhkiG9w0BAQUFADBRMQswCQYDVQQGEwJV ambari_server.SECURITY_IS_ENCRYPTION_ENABLED : 'true'} sorted_x = sorted(result_expected.iteritems(), key=operator.itemgetter(0)) - sorted_y = sorted(update_properties_method.call_args[0][0].iteritems(), + sorted_y = sorted(update_properties_method.call_args[0][1].iteritems(), key=operator.itemgetter(0)) self.assertEquals(sorted_x, sorted_y) @@ -3076,7 +3076,7 @@ MIIFHjCCAwYCCQDpHKOBI+Lt0zANBgkqhkiG9w0BAQUFADBRMQswCQYDVQQGEwJV ambari_server.SECURITY_IS_ENCRYPTION_ENABLED: 'true'} sorted_x = sorted(result_expected.iteritems(), key=operator.itemgetter(0)) - sorted_y = sorted(update_properties_method.call_args[0][0].iteritems(), + sorted_y = sorted(update_properties_method.call_args[0][1].iteritems(), key=operator.itemgetter(0)) self.assertEquals(sorted_x, sorted_y) @@ -3152,7 +3152,7 @@ MIIFHjCCAwYCCQDpHKOBI+Lt0zANBgkqhkiG9w0BAQUFADBRMQswCQYDVQQGEwJV ambari_server.SECURITY_IS_ENCRYPTION_ENABLED: 'true'} sorted_x = sorted(result_expected.iteritems(), key=operator.itemgetter(0)) - sorted_y = sorted(update_properties_method.call_args[0][0].iteritems(), + sorted_y = sorted(update_properties_method.call_args[0][1].iteritems(), key=operator.itemgetter(0)) self.assertEquals(sorted_x, sorted_y) @@ -3216,7 +3216,7 @@ MIIFHjCCAwYCCQDpHKOBI+Lt0zANBgkqhkiG9w0BAQUFADBRMQswCQYDVQQGEwJV ambari_server.SECURITY_IS_ENCRYPTION_ENABLED: 'true'} sorted_x = sorted(result_expected.iteritems(), key=operator.itemgetter(0)) - sorted_y = sorted(update_properties_method.call_args[0][0].iteritems(), + sorted_y = sorted(update_properties_method.call_args[0][1].iteritems(), key=operator.itemgetter(0)) self.assertEquals(sorted_x, sorted_y)