requires_system_grains decorator needs a grains=None kwarg

This commit is contained in:
rallytime 2016-08-31 11:35:02 -06:00
parent b20f6b9384
commit d7380d83be

View File

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