summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2021-03-12 07:31:52 +0300
committerMichael Klishin <michael@clojurewerkz.org>2021-03-12 09:40:05 +0300
commit2be552c3302495c982a28caf356271921dc0df3c (patch)
treef53c5635ed18e59955e94354c65accdfbcf4e6e9
parentb56abd1897f9f6268eb82f0d99041965c5395c8c (diff)
downloadrabbitmq-server-git-2be552c3302495c982a28caf356271921dc0df3c.tar.gz
STOMP: stomp.py suite cosmetics
(cherry picked from commit bc769343bb92e36d320ee2684703896d9e97b03e)
-rw-r--r--deps/rabbitmq_stomp/test/python_SUITE_data/src/lifecycle.py2
-rw-r--r--deps/rabbitmq_stomp/test/python_SUITE_data/src/reliability.py8
2 files changed, 9 insertions, 1 deletions
diff --git a/deps/rabbitmq_stomp/test/python_SUITE_data/src/lifecycle.py b/deps/rabbitmq_stomp/test/python_SUITE_data/src/lifecycle.py
index 8f70194f15..28564cd6b7 100644
--- a/deps/rabbitmq_stomp/test/python_SUITE_data/src/lifecycle.py
+++ b/deps/rabbitmq_stomp/test/python_SUITE_data/src/lifecycle.py
@@ -43,7 +43,7 @@ class TestLifecycle(base.BaseTest):
def test_unsubscribe_queue_id_with_receipt(self):
''' Test receipted UNSUBSCRIBE command with queue by id'''
- d = "/queue/unsutest_unsubscribe_queue_id_with_receiptb04"
+ d = "/queue/test_unsubscribe_queue_id_with_receipt"
self.unsub_test(d, self.sub_and_send(d, subid="queid", receipt="unsub.rct"), numRcts=1)
def test_connect_version_1_0(self):
diff --git a/deps/rabbitmq_stomp/test/python_SUITE_data/src/reliability.py b/deps/rabbitmq_stomp/test/python_SUITE_data/src/reliability.py
index 8b3afd636c..cd16d8597d 100644
--- a/deps/rabbitmq_stomp/test/python_SUITE_data/src/reliability.py
+++ b/deps/rabbitmq_stomp/test/python_SUITE_data/src/reliability.py
@@ -32,3 +32,11 @@ class TestReliability(base.BaseTest):
finally:
if pub_conn.is_connected():
pub_conn.disconnect()
+
+
+if __name__ == '__main__':
+ import test_runner
+ modules = [
+ __name__
+ ]
+ test_runner.run_unittests(modules) \ No newline at end of file