mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix saltmod roster test
This commit is contained in:
parent
2594f246e5
commit
b69c002e68
@ -297,8 +297,8 @@ class SaltmodTestCase(TestCase, LoaderModuleMockMixin):
|
||||
|
||||
with patch.dict(saltmod.__salt__, {'saltutil.cmd': cmd_mock}):
|
||||
ret = saltmod.state('state.sls', tgt='*', ssh=True, highstate=True, roster='my_roster')
|
||||
assert 'roster_file' in cmd_kwargs
|
||||
assert cmd_kwargs['roster_file'] == 'my_roster'
|
||||
assert 'roster' in cmd_kwargs
|
||||
assert cmd_kwargs['roster'] == 'my_roster'
|
||||
|
||||
|
||||
@skipIf(NO_MOCK, NO_MOCK_REASON)
|
||||
|
Loading…
Reference in New Issue
Block a user