mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
requires_system_grains decorator needs a grains=None kwarg
This commit is contained in:
parent
b20f6b9384
commit
d7380d83be
@ -597,7 +597,7 @@ class PkgTest(integration.ModuleCase,
|
||||
)
|
||||
|
||||
@requires_system_grains
|
||||
def test_group_installed_handle_missing_package_group(self):
|
||||
def test_group_installed_handle_missing_package_group(self, grains=None): # pylint: disable=unused-argument
|
||||
'''
|
||||
Tests that a CommandExecutionError is caught and the state returns False when
|
||||
the package group is missing. Before this fix, the state would stacktrace.
|
||||
|
Loading…
Reference in New Issue
Block a user