mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix bad unit test
This commit is contained in:
parent
0e68fafb74
commit
a4040da46d
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class AlternativesTestCase(TestCase):
|
|||
mock = MagicMock(side_effect=[True, False, False])
|
||||
mock_bool = MagicMock(return_value=True)
|
||||
with patch.dict(alternatives.__salt__,
|
||||
{'alternatives.check_exists': mock,
|
||||
{'alternatives.check_installed': mock,
|
||||
'alternatives.install': mock_bool}):
|
||||
comt = ('Alternatives for {0} is already set to {1}'
|
||||
).format(name, path)
|
||||
|
|
Loading…
Add table
Reference in a new issue