mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove unneeded empty kwargs dictionary
This commit is contained in:
parent
0b2fb4c67e
commit
3d517b0b1e
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class ModuleStateTest(TestCase, LoaderModuleMockMixin):
|
|||
with patch.dict(module.__salt__, {}, clear=True), patch.dict(
|
||||
module.__opts__, {"test": True, "use_superseded": ["module.run"]}
|
||||
):
|
||||
ret = module.run(**{})
|
||||
ret = module.run()
|
||||
if ret["comment"] != "No function provided." or ret["result"] is not False:
|
||||
self.fail("module.run did not fail as expected: {}".format(ret))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue