mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update and correct the error message
This commit is contained in:
parent
ea8351362c
commit
94c97a8f25
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class ModuleStateTest(TestCase, LoaderModuleMockMixin):
|
|||
with patch.dict(module.__salt__, {CMD: _mocked_func_named}):
|
||||
with patch.dict(module.__opts__, {'use_superseded': ['module.run']}):
|
||||
ret = module.run(**{CMD: None})
|
||||
assert ret['comment'] == "'{0}' failed: Missing arguments: name".format(CMD)
|
||||
assert ret['comment'] == "'{0}' failed: Function expects 1 parameters, got only 0".format(CMD)
|
||||
|
||||
def test_run_correct_arg(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue