Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4C9632009A8 for ; Tue, 17 May 2016 19:45:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4B361160A1F; Tue, 17 May 2016 17:45:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9547F1607A8 for ; Tue, 17 May 2016 19:45:21 +0200 (CEST) Received: (qmail 41899 invoked by uid 500); 17 May 2016 17:45:20 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 41888 invoked by uid 99); 17 May 2016 17:45:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 17:45:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B10D7DFD9F; Tue, 17 May 2016 17:45:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gsim@apache.org To: commits@qpid.apache.org Date: Tue, 17 May 2016 17:45:20 -0000 Message-Id: <598d5fd6862443cf901d9453556b3050@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] qpid-proton git commit: PROTON-1061: update expected textual output for the __repr__ defs for different types archived-at: Tue, 17 May 2016 17:45:22 -0000 Repository: qpid-proton Updated Branches: refs/heads/master 7beab449c -> 631255c6c PROTON-1061: update expected textual output for the __repr__ defs for different types Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/631255c6 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/631255c6 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/631255c6 Branch: refs/heads/master Commit: 631255c6c677375bc5c1f9ccd238c88bc6a76646 Parents: 1d57511 Author: Gordon Sim Authored: Tue May 17 18:44:45 2016 +0100 Committer: Gordon Sim Committed: Tue May 17 18:44:54 2016 +0100 ---------------------------------------------------------------------- examples/python/test_examples.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/631255c6/examples/python/test_examples.py ---------------------------------------------------------------------- diff --git a/examples/python/test_examples.py b/examples/python/test_examples.py index 3d97b97..7ecde61 100644 --- a/examples/python/test_examples.py +++ b/examples/python/test_examples.py @@ -56,7 +56,7 @@ class ExamplesTest(unittest.TestCase): s.wait() r.wait() actual = [l.strip() for l in r.stdout] - expected = ["{%s'sequence': %i}" % (_unicode_prefix, (i+1)) for i in range(100)] + expected = ["{%s'sequence': int32(%i)}" % (_unicode_prefix, (i+1)) for i in range(100)] self.assertEqual(actual, expected) def test_client_server(self, client=['client.py'], server=['server.py'], sleep=0): @@ -135,7 +135,7 @@ class ExamplesTest(unittest.TestCase): s.wait() r.wait() actual = [l.strip() for l in r.stdout] - expected = ["{%s'sequence': %i}" % (_unicode_prefix, (i+1)) for i in range(100)] + expected = ["{%s'sequence': int32(%i)}" % (_unicode_prefix, (i+1)) for i in range(100)] self.assertEqual(actual, expected) def test_direct_send_simple_recv(self): @@ -147,5 +147,5 @@ class ExamplesTest(unittest.TestCase): r.wait() s.wait() actual = [l.strip() for l in r.stdout] - expected = ["{%s'sequence': %i}" % (_unicode_prefix, (i+1)) for i in range(100)] + expected = ["{%s'sequence': int32(%i)}" % (_unicode_prefix, (i+1)) for i in range(100)] self.assertEqual(actual, expected) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org