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 <g...@redhat.com> Authored: Tue May 17 18:44:45 2016 +0100 Committer: Gordon Sim <g...@redhat.com> 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-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org