MCPcopy
hub / github.com/saltstack/salt / run_function

Method run_function

tests/integration/modules/test_cp.py:33–39  ·  view source on GitHub ↗

Ensure that results are decoded TODO: maybe move this behavior to ModuleCase itself?

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

31 """
32
33 def run_function(self, *args, **kwargs): # pylint: disable=arguments-differ
34 """
35 Ensure that results are decoded
36
37 TODO: maybe move this behavior to ModuleCase itself?
38 """
39 return salt.utils.data.decode(super().run_function(*args, **kwargs))
40
41 @with_tempfile()
42 @pytest.mark.slow_test

Callers 15

test_get_fileMethod · 0.95
test_get_file_to_dirMethod · 0.95
test_get_file_gzippedMethod · 0.95
test_get_templateMethod · 0.95
test_get_dirMethod · 0.95
test_get_urlMethod · 0.95
test_get_url_makedirsMethod · 0.95
test_get_url_no_destMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected