qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject qpid-proton git commit: PROTON-490: convert string data to binary for transport push
Date Fri, 01 May 2015 17:07:20 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/kgiusti-python3 45238b464 -> e7eb0c579


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/kgiusti-python3
Commit: e7eb0c579b376e4f91667c4651f5a7fc84a053b2
Parents: 45238b4
Author: Ken Giusti <kgiusti@apache.org>
Authored: Fri May 1 13:07:08 2015 -0400
Committer: Ken Giusti <kgiusti@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


Mime
View raw message