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 2020/09/30 20:14:42 UTC

[qpid-dispatch] branch dev-protocol-adaptors updated: DISPATCH-1744: tweak system test for python2

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

kgiusti pushed a commit to branch dev-protocol-adaptors
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/dev-protocol-adaptors by this push:
     new f07f6c2  DISPATCH-1744: tweak system test for python2
f07f6c2 is described below

commit f07f6c269a73d579adaac4f3f476ae3f731efe7e
Author: Kenneth Giusti <kg...@apache.org>
AuthorDate: Wed Sep 30 16:13:27 2020 -0400

    DISPATCH-1744: tweak system test for python2
---
 tests/system_tests_http1_adaptor.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/system_tests_http1_adaptor.py b/tests/system_tests_http1_adaptor.py
index 0e6eb81..036b8ac 100644
--- a/tests/system_tests_http1_adaptor.py
+++ b/tests/system_tests_http1_adaptor.py
@@ -82,8 +82,7 @@ class ResponseMsg(object):
         handler.protocol_version = self.version
         if self.error:
             handler.send_error(self.status,
-                               message=self.reason,
-                               explain=self.body)
+                               message=self.reason)
             return
 
         handler.send_response(self.status, self.reason)
@@ -407,7 +406,7 @@ class MyHTTPServer(HTTPServer):
             testcases = DEFAULT_TEST_SCENARIOS
         self.system_test_server_done = False
         self.system_tests = testcases
-        super(MyHTTPServer, self).__init__(addr, handler_cls)
+        HTTPServer.__init__(self, addr, handler_cls)
 
 
 class TestServer(object):


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