You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2015/06/22 14:57:23 UTC
[20/34] qpid-proton git commit: PROTON-490: convert string data to
binary for transport push
PROTON-490: convert string data to binary for transport push
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e7eb0c57
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e7eb0c57
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/e7eb0c57
Branch: refs/heads/master
Commit: e7eb0c579b376e4f91667c4651f5a7fc84a053b2
Parents: 45238b4
Author: Ken Giusti <kg...@apache.org>
Authored: Fri May 1 13:07:08 2015 -0400
Committer: Ken Giusti <kg...@apache.org>
Committed: Fri May 1 13:07:08 2015 -0400
----------------------------------------------------------------------
tests/python/proton_tests/engine.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e7eb0c57/tests/python/proton_tests/engine.py
----------------------------------------------------------------------
diff --git a/tests/python/proton_tests/engine.py b/tests/python/proton_tests/engine.py
index bd0c212..c75bef9 100644
--- a/tests/python/proton_tests/engine.py
+++ b/tests/python/proton_tests/engine.py
@@ -2494,9 +2494,9 @@ class SaslEventTest(CollectorTest):
transport.bind(conn)
self.expect(Event.CONNECTION_INIT, Event.CONNECTION_BOUND)
- transport.push('AMQP\x03\x01\x00\x00\x00\x00\x00 \x02\x01\x00\x00\x00SA'
- '\xd0\x00\x00\x00\x10\x00\x00\x00\x02\xa3\tANONYMOUS@'
- 'AMQP\x00\x01\x00\x00')
+ transport.push(str2bin('AMQP\x03\x01\x00\x00\x00\x00\x00 \x02\x01\x00\x00\x00SA'
+ '\xd0\x00\x00\x00\x10\x00\x00\x00\x02\xa3\tANONYMOUS@'
+ 'AMQP\x00\x01\x00\x00'))
self.expect(Event.TRANSPORT)
for i in range(1024):
p = transport.pending()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org