Add a test for rabbit URLs lacking terminating '/'

Change-Id: I062ca84b6b8a5d1eeccafef87608c783ad5ffb03
This commit is contained in:
Kenneth Giusti 2018-10-19 09:22:48 -04:00
parent 92b4080654
commit d913c179c7
1 changed files with 3 additions and 0 deletions

View File

@ -398,6 +398,9 @@ class TestRabbitTransportURL(test_utils.BaseTestCase):
('rabbit_ipv4',
dict(url='rabbit://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):