Remove unneeded empty kwargs dictionary

This commit is contained in:
Adam Mendlik 2021-02-24 08:38:03 -07:00 committed by Megan Wilhite
parent 0b2fb4c67e
commit 3d517b0b1e

View file

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