mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Fix test failures
This commit is contained in:
parent
6fa7bc3350
commit
3f8b905642
@ -39,9 +39,9 @@ class RabbitmqVhostTestCase(TestCase):
|
||||
name = 'virtual_host'
|
||||
|
||||
ret = {'name': name,
|
||||
'changes': {},
|
||||
'changes': {'new': 'virtual_host', 'old': ''},
|
||||
'result': None,
|
||||
'comment': 'Creating VHost virtual_host'}
|
||||
'comment': 'Virtual Host \'virtual_host\' will be created.'}
|
||||
|
||||
mock = MagicMock(return_value=False)
|
||||
with patch.dict(rabbitmq_vhost.__salt__,
|
||||
@ -60,7 +60,7 @@ class RabbitmqVhostTestCase(TestCase):
|
||||
ret = {'name': name,
|
||||
'changes': {},
|
||||
'result': True,
|
||||
'comment': 'Virtual Host {0} is not present'.format(name)}
|
||||
'comment': 'Virtual Host \'{0}\' is not present.'.format(name)}
|
||||
|
||||
mock = MagicMock(return_value=False)
|
||||
with patch.dict(rabbitmq_vhost.__salt__,
|
||||
|
Loading…
Reference in New Issue
Block a user