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

Method test_envs

tests/integration/runners/test_fileserver.py:61–74  ·  view source on GitHub ↗

fileserver.envs

(self)

Source from the content-addressed store, hash-verified

59
60 @pytest.mark.slow_test
61 def test_envs(self):
62 """
63 fileserver.envs
64 """
65 ret = self.run_run_plus(fun="fileserver.envs")
66 self.assertIsInstance(ret["return"], list)
67
68 # Backend submitted as a string
69 ret = self.run_run_plus(fun="fileserver.envs", backend="roots")
70 self.assertIsInstance(ret["return"], list)
71
72 # Backend submitted as a list
73 ret = self.run_run_plus(fun="fileserver.envs", backend=["roots"])
74 self.assertIsInstance(ret["return"], list)
75
76 @pytest.mark.slow_test
77 def test_clear_file_list_cache(self):

Callers

nothing calls this directly

Calls 1

run_run_plusMethod · 0.80

Tested by

no test coverage detected