Add a test for rabbit URLs lacking terminating '/'
Change-Id: I062ca84b6b8a5d1eeccafef87608c783ad5ffb03
This commit is contained in:
parent
92b4080654
commit
d913c179c7
@ -398,6 +398,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