Skip to content

Commit 0fac574

Browse files
committed
Bump stomp.py to v8.1.0. Close #2566
1 parent 53e992f commit 0fac574

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

deps/rabbitmq_stomp/test/python_SUITE_data/deps/stomppy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
UPSTREAM_GIT=https://github.com/jasonrbriggs/stomp.py.git
2-
REVISION=v6.1.0
2+
REVISION=v8.1.0
33

44
LIB_DIR=stomppy
55
CHECKOUT_DIR=stomppy-git

deps/rabbitmq_stomp/test/python_SUITE_data/src/tls_connect_disconnect.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,17 @@
2323
class TestTLSConnection(unittest.TestCase):
2424

2525
def __ssl_connect(self):
26-
conn = stomp.Connection(host_and_ports = [ ('localhost', int(os.environ["STOMP_PORT_TLS"])) ],
27-
use_ssl = True, ssl_key_file = ssl_key_file,
28-
ssl_cert_file = ssl_cert_file,
29-
ssl_ca_certs = ssl_ca_certs)
26+
conn = stomp.Connection(host_and_ports = [ ('localhost', int(os.environ["STOMP_PORT_TLS"])) ])
27+
conn.set_ssl([ ('localhost', int(os.environ["STOMP_PORT_TLS"])) ], key_file = ssl_key_file,
28+
cert_file = ssl_cert_file, ca_certs = ssl_ca_certs)
3029
print("FILE: ".format(ssl_cert_file))
3130
conn.connect("guest", "guest")
3231
return conn
3332

3433
def __ssl_auth_connect(self):
35-
conn = stomp.Connection(host_and_ports = [ ('localhost', int(os.environ["STOMP_PORT_TLS"])) ],
36-
use_ssl = True, ssl_key_file = ssl_key_file,
37-
ssl_cert_file = ssl_cert_file,
38-
ssl_ca_certs = ssl_ca_certs)
34+
conn = stomp.Connection(host_and_ports = [ ('localhost', int(os.environ["STOMP_PORT_TLS"])) ])
35+
conn.set_ssl([ ('localhost', int(os.environ["STOMP_PORT_TLS"])) ], key_file = ssl_key_file,
36+
cert_file = ssl_cert_file, ca_certs = ssl_ca_certs)
3937
conn.connect()
4038
return conn
4139

@@ -83,4 +81,4 @@ def __test_conn(self, conn):
8381
modules = [
8482
__name__
8583
]
86-
test_runner.run_unittests(modules)
84+
test_runner.run_unittests(modules)

0 commit comments

Comments
 (0)