Merge "Add a test for rabbit URLs lacking terminating '/'"
This commit is contained in:
commit
274b7c3eb4
@ -400,6 +400,9 @@ class TestRabbitTransportURL(test_utils.BaseTestCase):
|
|||||||
('rabbit_ipv4',
|
('rabbit_ipv4',
|
||||||
dict(url='rabbit://user:password@10.20.30.40:10/vhost',
|
dict(url='rabbit://user:password@10.20.30.40:10/vhost',
|
||||||
expected=['amqp://user:password@10.20.30.40:10/vhost'])),
|
expected=['amqp://user:password@10.20.30.40:10/vhost'])),
|
||||||
|
('rabbit_no_vhost_slash',
|
||||||
|
dict(url='rabbit://user:password@10.20.30.40:10',
|
||||||
|
expected=['amqp://user:password@10.20.30.40:10/'])),
|
||||||
]
|
]
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user