qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [1/2] qpid-proton git commit: PROTON-1061: update expected textual output for the __repr__ defs for different types
Date Tue, 17 May 2016 17:45:20 GMT
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 <gsim@redhat.com>
Authored: Tue May 17 18:44:45 2016 +0100
Committer: Gordon Sim <gsim@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-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message