mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Pylint fix
This commit is contained in:
parent
19b8b868a3
commit
aebbcb88ea
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class RabbitmqUserTestCase(TestCase):
|
|||
ret = {'name': name,
|
||||
'changes': {},
|
||||
'result': True,
|
||||
'comment': 'The user \'foo\' is not present.'.format(name)}
|
||||
'comment': 'The user \'foo\' is not present.'}
|
||||
|
||||
mock = MagicMock(return_value=False)
|
||||
with patch.dict(rabbitmq_user.__salt__, {'rabbitmq.user_exists': mock}):
|
||||
|
|
Loading…
Add table
Reference in a new issue