You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2023/04/05 21:42:49 UTC

[qpid-proton] branch main updated: NO-JIRA: Fix type of bytes test data for message id in python tests

This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new ddf2c49e5 NO-JIRA: Fix type of bytes test data for message id in python tests
ddf2c49e5 is described below

commit ddf2c49e5e55b9bb887ca0f01545840ee8135faa
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Thu Jul 14 13:35:35 2022 +0200

    NO-JIRA: Fix type of bytes test data for message id in python tests
---
 python/tests/proton_tests/message.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/tests/proton_tests/message.py b/python/tests/proton_tests/message.py
index fd4937e3b..d57d6e34d 100644
--- a/python/tests/proton_tests/message.py
+++ b/python/tests/proton_tests/message.py
@@ -54,10 +54,10 @@ class AccessorsTest(Test):
         self._test(name, 0, (0, 123456789, 987654321))
 
     def testId(self):
-        self._test("id", None, ("bytes", None, 123, u"string", uuid4()))
+        self._test("id", None, (b"bytes", None, 123, u"string", uuid4()))
 
     def testCorrelationId(self):
-        self._test("correlation_id", None, ("bytes", None, 123, u"string", uuid4()))
+        self._test("correlation_id", None, (b"bytes", None, 123, u"string", uuid4()))
 
     def testDurable(self):
         self._test("durable", False, (True, False))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org