Fix saltmod roster test

This commit is contained in:
Daniel A. Wozniak 2019-01-16 11:20:05 -07:00
parent 2594f246e5
commit b69c002e68
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -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)